Skip to content

add server alias/server name mapping: useful when runing in docker (a…

bd8a495
Select commit
Loading
Failed to load commit list.
Open

#2043 High Availability (HA) Subsystem Improvement #2062

add server alias/server name mapping: useful when runing in docker (a…
bd8a495
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jan 2, 2026 in 0s

787 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 787
           

Complexity increasing per file
==============================
- server/src/main/java/com/arcadedb/server/ha/Leader2ReplicaNetworkExecutor.java  8
- server/src/main/java/com/arcadedb/server/ha/message/ReplicaConnectRequest.java  1
- server/src/main/java/com/arcadedb/server/ha/LeaderNetworkListener.java  13
- server/src/main/java/com/arcadedb/server/ha/message/UpdateClusterConfiguration.java  17
- server/src/main/java/com/arcadedb/server/ha/HAServer.java  91
- server/src/main/java/com/arcadedb/server/http/handler/GetReadyHandler.java  3
- network/src/main/java/com/arcadedb/network/HostUtil.java  3
- e2e-perf/src/test/java/com/arcadedb/test/support/ContainersTestTemplate.java  27
- server/src/main/java/com/arcadedb/server/ha/discovery/ConsulDiscovery.java  28
- server/src/main/java/com/arcadedb/server/ha/discovery/DiscoveryException.java  2
- server/src/main/java/com/arcadedb/server/ha/discovery/StaticListDiscovery.java  14
- server/src/main/java/com/arcadedb/server/ha/discovery/KubernetesDnsDiscovery.java  25
- server/src/main/java/com/arcadedb/server/http/handler/GetClusterLeaderHandler.java  12
- server/src/main/java/com/arcadedb/server/http/handler/GetClusterStatusHandler.java  15
- server/src/main/java/com/arcadedb/server/ha/message/ResyncRequest.java  14
- server/src/main/java/com/arcadedb/server/ha/message/ResyncResponse.java  28
- server/src/main/java/com/arcadedb/server/ha/LeaderFencedException.java  2
- server/src/main/java/com/arcadedb/server/ha/LeaderFence.java  35
- server/src/main/java/com/arcadedb/server/ha/ElectionContext.java  5
         

Complexity decreasing per file
==============================
+ server/src/main/java/com/arcadedb/server/ha/ReplicationLogFile.java  -1
         

See the complete overview on Codacy

Annotations

Check notice on line 35 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L35

Expected: 80; Actual: 157

Check notice on line 37 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L37

Expected: 80; Actual: 92

Check notice on line 51 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L51

Expected: 1; Actual: 0; Below

Check notice on line 58 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L58

Lists should be surrounded by blank lines

Check notice on line 81 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L81

Expected: 80; Actual: 95

Check notice on line 87 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L87

Expected: 1; Actual: 0; Below

Check notice on line 154 in 2945-ha-alias-resolution.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2945-ha-alias-resolution.md#L154

Expected: 1; Actual: 0; Below

Check notice on line 10 in 2946-removeserver-type-mismatch.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2946-removeserver-type-mismatch.md#L10

Expected: 80; Actual: 122

Check notice on line 47 in 2946-removeserver-type-mismatch.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2946-removeserver-type-mismatch.md#L47

Expected: 80; Actual: 119

Check notice on line 61 in 2946-removeserver-type-mismatch.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2946-removeserver-type-mismatch.md#L61

Expected: 1; Actual: 0; Below

Check notice on line 93 in 2946-removeserver-type-mismatch.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2946-removeserver-type-mismatch.md#L93

Expected: 80; Actual: 96

Check notice on line 1 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L1

Expected: [None]; Actual: # Issue #2947: Re-enable HTTP Address Propagation

Check notice on line 10 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L10

Expected: 80; Actual: 98

Check notice on line 43 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L43

Expected: 80; Actual: 87

Check notice on line 88 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L88

Lists should be surrounded by blank lines

Check notice on line 115 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L115

Lists should be surrounded by blank lines

Check notice on line 116 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L116

Expected: 80; Actual: 84

Check notice on line 120 in 2947-http-address-propagation.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2947-http-address-propagation.md#L120

Lists should be surrounded by blank lines

Check notice on line 54 in 2948-fix-test-assertions.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2948-fix-test-assertions.md#L54

Expected: 80; Actual: 89

Check notice on line 63 in 2948-fix-test-assertions.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2948-fix-test-assertions.md#L63

Expected: 80; Actual: 115

Check notice on line 104 in 2948-fix-test-assertions.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2948-fix-test-assertions.md#L104

Fenced code blocks should be surrounded by blank lines

Check notice on line 3 in 2949-update-server-identifier-usage.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2949-update-server-identifier-usage.md#L3

Expected: 1; Actual: 0; Below

Check notice on line 29 in 2949-update-server-identifier-usage.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2949-update-server-identifier-usage.md#L29

Expected: 1; Actual: 0; Below

Check notice on line 66 in 2949-update-server-identifier-usage.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2949-update-server-identifier-usage.md#L66

Expected: 80; Actual: 100

Check notice on line 66 in 2949-update-server-identifier-usage.md

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

2949-update-server-identifier-usage.md#L66

Lists should be surrounded by blank lines