Skip to content

Commit

Permalink
Change a logging level to info when a CP members list is updated [HZ-…
Browse files Browse the repository at this point in the history
…3046] [5.3.z] (hazelcast#25373)

Changing the logging level should help analyze the behavior of the CP
subsystem if the internal list of CP members is updated.

Backport of: hazelcast#25371
  • Loading branch information
arodionov committed Sep 5, 2023
1 parent 2d209c8 commit 0aa2713
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ public boolean setMembers(long groupIdSeed, long membersCommitIndex, Collection<
CPMembersContainer currentContainer = membersContainer.get();
if (newContainer.version.compareTo(currentContainer.version) > 0) {
if (membersContainer.compareAndSet(currentContainer, newContainer)) {
logger.fine("Replaced " + currentContainer + " with " + newContainer);
logger.info("Replaced " + currentContainer + " with " + newContainer);
return true;
}
} else {
Expand Down

0 comments on commit 0aa2713

Please sign in to comment.