[
https://issues.apache.org/jira/browse/CASSANDRA-20320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abe Ratnofsky updated CASSANDRA-20320:
--------------------------------------
Change Category: Operability
Complexity: Low Hanging Fruit
Priority: Low (was: Normal)
Status: Open (was: Triage Needed)
> Paxos Repair: 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
> Priority: Low
>
> 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]