Skip to content

Commit d16d124

Browse files
aleksbykovsoyacz
authored andcommitted
fix(search_inconsistent_host_ids): use correct logic
In PR: #10636 after switch to use feature name instead of version was used wrong logic in if statement. Check non voters should be done only if feature GROUP0_LIMITED_VOTERS is not enabled
1 parent 67c34d2 commit d16d124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdcm/utils/raft/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def search_inconsistent_host_ids(self) -> list[str]:
394394
LOGGER.debug("Difference between group0 and token ring: %s", host_ids)
395395
# Starting from 2025.2 not all alive nodes are voters. get
396396
# non voters node only for older versions < 2025.2
397-
if not host_ids and limited_voters_feature_enabled:
397+
if not host_ids and not limited_voters_feature_enabled:
398398
LOGGER.debug("Get non-voter member hostids")
399399
host_ids = self.get_group0_non_voters()
400400
return host_ids

0 commit comments

Comments
 (0)