Abe Ratnofsky created CASSANDRA-20320:
-----------------------------------------
Summary: Paxos Repair: NoSuchElementException on
DistributedSchema.getKeyspaceMetadata NoSuchElementException on
DistributedSchema.getKeyspaceMetadata
Key: CASSANDRA-20320
URL: https://issues.apache.org/jira/browse/CASSANDRA-20320
Project: Apache Cassandra
Issue Type: Improvement
Components: Feature/Lightweight Transactions
Reporter: Abe Ratnofsky
Assignee: Abe Ratnofsky
When a keyspace is dropped between Paxos clean-up runs, Paxos repair fails here:
{code:java}
Caused by: java.util.NoSuchElementException: No value present at
java.base/java.util.Optional.get(Optional.java:143) at
org.apache.cassandra.schema.DistributedSchema.getKeyspaceMetadata(DistributedSchema.java:113)
at
org.apache.cassandra.service.paxos.Paxos$Participants.get(Paxos.java:447) at
org.apache.cassandra.service.paxos.PaxosRepair.validatePeerCompatibility(PaxosRepair.java:681)
at
org.apache.cassandra.service.paxos.PaxosRepair.lambda$validatePeerCompatibility$4(PaxosRepair.java:687)
{code}
Patch available.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]