]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19978 Fix flaky `SupportedTopologyClusterTest#app_node_can_join_and_quit_cluster`
authorJacek Poreda <jacek.poreda@sonarsource.com>
Wed, 30 Aug 2023 09:32:20 +0000 (11:32 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 30 Aug 2023 20:03:07 +0000 (20:03 +0000)
- Increased memory on WEB and CE processes due OOM
link: https://github.com/hazelcast/hazelcast/blob/master/docs/design/cluster/02-partial-member-disconnection-resolution.md
server/sonar-process/src/main/java/org/sonar/process/cluster/hz/HazelcastMemberBuilder.java

index 2ccaffd60173100c035377ab2f5a07f967ad1d35..8237530470eebcd58b2f577f261ee7a10c03bd1d 100644 (file)
@@ -126,7 +126,9 @@ public class HazelcastMemberBuilder {
       // Don't phone home
       .setProperty("hazelcast.phone.home.enabled", "false")
       // Use slf4j for logging
-      .setProperty("hazelcast.logging.type", "slf4j");
+      .setProperty("hazelcast.logging.type", "slf4j")
+      .setProperty("hazelcast.partial.member.disconnection.resolution.heartbeat.count", "5")
+    ;
 
     MemberAttributeConfig attributes = config.getMemberAttributeConfig();
     attributes.setAttribute(Attribute.NODE_NAME.getKey(), requireNonNull(nodeName, "Node name is missing"));