aweisberg commented on code in PR #4708:
URL: https://github.com/apache/cassandra/pull/4708#discussion_r3423954320
##########
src/java/org/apache/cassandra/service/paxos/Paxos.java:
##########
@@ -1221,6 +1231,10 @@ public static boolean
isInRangeAndShouldProcess(DecoratedKey key, TableMetadata
// replicas using the supplied token as this can actually be of the
incorrect type (for example when
// performing Paxos repair).
Token token = table.partitioner == MetaStrategy.partitioner ?
MetaStrategy.entireRange.right : key.getToken();
+
+ if (keyspace.getReplicationStrategy().shouldRejectPaxos(token))
Review Comment:
Should this also be in the PaxosCleanup version of this?
--
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]