You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (Jira)" <ji...@apache.org> on 2026/08/19 07:11:00 UTC

[jira] [Created] (CASSANDRA-21585) Make sure counter writes are not unnecessarily failed during epoch bumps

Marcus Eriksson created CASSANDRA-21585:
-------------------------------------------

             Summary: Make sure counter writes are not unnecessarily failed during epoch bumps
                 Key: CASSANDRA-21585
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21585
             Project: Apache Cassandra
          Issue Type: Bug
            Reporter: Marcus Eriksson
            Assignee: Marcus Eriksson


We might fail counter writes due to not including all replicas as {{liveAndDown}} when creating the {{ReplicaPlan}}

{code}
java.lang.IllegalStateException: During operation execution, for keyspace distributed_test_keyspace at ONE the ring has changed from Epoch{epoch=9} to Epoch{epoch=18} in a way that would make responses violate the consistency level.
	Received responses from: [/127.0.0.3:7012]
	Old candidates: [Full(/127.0.0.3:7012,(-9223372036854775808,-3074457345618258603])]
	New candidates: [Full(/127.0.0.1:7012,(-9223372036854775808,-3074457345618258603])]
	Remaining required: 1

	at org.apache.cassandra.locator.ReplicaPlan$ForWrite.stillAppliesTo(ReplicaPlan.java:388)
	at org.apache.cassandra.service.AbstractWriteResponseHandler.get(AbstractWriteResponseHandler.java:185)
	at org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:1005)
	at org.apache.cassandra.service.StorageProxy.dispatchMutationsWithRetryOnDifferentSystem(StorageProxy.java:1295)
	at org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:1264)
	at org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:687)
	at org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:659)
	at org.apache.cassandra.distributed.impl.CoordinatorHelper.unsafeExecuteInternal(CoordinatorHelper.java:70)
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org