[ 
https://issues.apache.org/jira/browse/CASSANDRA-20320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929235#comment-17929235
 ] 

Francisco Guerrero commented on CASSANDRA-20320:
------------------------------------------------

+1 thanks for the patch 

> 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
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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]

Reply via email to