Skip to content

Commit

Permalink
Quick fix that re-enables local bootstrapping (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattl-netflix authored Jan 24, 2022
1 parent a33bde8 commit 90f2918
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static InferredTokenOwnership inferTokenOwnerFromGossip(
// Avoid other regions instances to avoid communication over public ip address.
List<? extends PriamInstance> eligibleInstances =
allIds.stream()
.filter(priamInstance -> !priamInstance.getToken().equalsIgnoreCase(token))
.filter(priamInstance -> !token.equalsIgnoreCase(priamInstance.getToken()))
.filter(priamInstance -> priamInstance.getDC().equalsIgnoreCase(dc))
.collect(Collectors.toList());
// We want to get IP from min 1, max 3 instances to ensure we are not relying on
Expand Down

0 comments on commit 90f2918

Please sign in to comment.