From 22913f1d1b0d6f6575b682591f61bef40f96ce9d Mon Sep 17 00:00:00 2001 From: Niksa Jakovljevic Date: Thu, 25 Sep 2025 09:43:44 +0200 Subject: [PATCH] CNDB-15484: CNDB-14509: Mark function as public (#1995) If we intersect read and write replicas we need a way to check if intersection replicas satisfy CL requirements, thus marking needed functions as public. Related CNDB PR https://github.com/riptano/cndb/pull/15317 --- src/java/org/apache/cassandra/locator/ReplicaPlans.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/cassandra/locator/ReplicaPlans.java b/src/java/org/apache/cassandra/locator/ReplicaPlans.java index c4f929139bf3..db9cda308799 100644 --- a/src/java/org/apache/cassandra/locator/ReplicaPlans.java +++ b/src/java/org/apache/cassandra/locator/ReplicaPlans.java @@ -127,7 +127,7 @@ public static boolean isSufficientLiveReplicasForRead(AbstractReplicationStrateg } } - static void assureSufficientLiveReplicasForRead(AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, Endpoints liveReplicas) throws UnavailableException + public static void assureSufficientLiveReplicasForRead(AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, Endpoints liveReplicas) throws UnavailableException { assureSufficientLiveReplicas(replicationStrategy, consistencyLevel, liveReplicas, consistencyLevel.blockFor(replicationStrategy), 1); }