beobal commented on code in PR #3197:
URL: https://github.com/apache/cassandra/pull/3197#discussion_r1559652776
##########
src/java/org/apache/cassandra/locator/CMSPlacementStrategy.java:
##########
@@ -115,8 +117,11 @@ public Set<NodeId> reconfigure(Set<NodeId> currentCms,
ClusterMetadata metadata)
}
}
- EndpointsForRange endpoints =
NetworkTopologyStrategy.calculateNaturalReplicas(EntireRange.entireRange.left,
-
EntireRange.entireRange,
+ // Although MetaStrategy has its own entireRange, it uses a custom
partitioner which isn't compatible with
+ // NTS. For that reason, we select replicas here using tokens
provided by the configured partitioner.
Review Comment:
fixed in fb1f796de1c6acb23688a421e71e1b4ea76e5359
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]