You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Unmesh Joshi (Jira)" <ji...@apache.org> on 2021/11/18 10:05:00 UTC

[jira] [Created] (CASSANDRA-17162) In the paxos implementation, a delayed proposal might overwrite newer values

Unmesh Joshi created CASSANDRA-17162:
----------------------------------------

             Summary: In the paxos implementation, a delayed proposal might overwrite newer values
                 Key: CASSANDRA-17162
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17162
             Project: Cassandra
          Issue Type: Bug
            Reporter: Unmesh Joshi
         Attachments: paxos-fix.patch

I was going through this blog post , which talks about a possible bug in paxos implementation if in-progress ballot is not set while accepting a proposal.
[https://brooker.co.za/blog/2021/11/16/paxos.html]

I tried writing a failing test and possible fix. 

The in_progress_ballot needs to be set when accepting a proposal. The current implementation sets only the proposal_ballot when accepting a proposal.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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