[CASSANDRA-20736] Remove unnecessary check on epoch

This commit is contained in:
Sam Tunnicliffe 2026-02-02 12:16:33 +00:00
parent e2e6dd1dac
commit b61340c7f6
1 changed files with 1 additions and 3 deletions

View File

@ -237,9 +237,7 @@ public class ClusterMetadata
return fullCMSMembers().contains(endpoint);
// special case to handle initialization of the CMS for the first time
return epoch.isEqualOrBefore(Epoch.FIRST) && cmsDataPlacement.reads.byEndpoint()
.keySet()
.contains(endpoint);
return cmsDataPlacement.reads.byEndpoint().keySet().contains(endpoint);
}
public Set<InetAddressAndPort> fullCMSMembers()