You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2023/01/24 20:22:00 UTC

[jira] [Updated] (CASSANDRA-18194) PaxosPrepare may add instances to Electorate that are not in gossip

     [ https://issues.apache.org/jira/browse/CASSANDRA-18194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Capwell updated CASSANDRA-18194:
--------------------------------------
     Bug Category: Parent values: Correctness(12982)Level 1 values: Recoverable Corruption / Loss(12986)
       Complexity: Low Hanging Fruit
    Discovered By: Code Inspection
    Fix Version/s: 4.1.x
         Severity: Normal
           Status: Open  (was: Triage Needed)

> PaxosPrepare may add instances to Electorate that are not in gossip
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-18194
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18194
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Lightweight Transactions
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 4.1.x
>
>
> org.apache.cassandra.service.paxos.PaxosPrepare.RequestHandler#execute is given a list of electorate from the peer and attempts to compute its own, then replies back with this set.
> On the peer side, we then have the set we sent and the set from the other instance... we then fetch the EndpointState from Gossiper and store into a Map, a map we later attempt to inject into Gossip.
> It is possible that Gossiper does not know about the instance yet, so returns a null; causing a NullPointerException in downstream 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