Skip to content

CASSANDRA-20221 Add nodetool command to clean up Paxos state#4798

Open
lv042 wants to merge 2 commits intoapache:trunkfrom
lv042:CASSANDRA-20221
Open

CASSANDRA-20221 Add nodetool command to clean up Paxos state#4798
lv042 wants to merge 2 commits intoapache:trunkfrom
lv042:CASSANDRA-20221

Conversation

@lv042
Copy link
Copy Markdown

@lv042 lv042 commented May 10, 2026

CASSANDRA-20221

Add a standalone nodetool clearpaxos command to clean up Paxos state for keyspaces/tables without running full repair -paxos-only.

The command reuses the existing Paxos cleanup machinery and targets table metadata rather than directly operating on system.paxos.

Tests:

  • ant testsome -Dtest.name=org.apache.cassandra.tools.NodeToolCommandTest
  • ant test-jvm-dtest-some -Dtest.name=org.apache.cassandra.distributed.test.NodeToolTest -Dtest.methods=testClearPaxos
  • ant test-jvm-dtest-some -Dtest.name=org.apache.cassandra.distributed.test.NodeToolTest -Dtest.methods=testClearPaxosUnknownTable

@lv042 lv042 force-pushed the CASSANDRA-20221 branch from 9fd72de to 776d87a Compare May 10, 2026 20:03
@lv042 lv042 force-pushed the CASSANDRA-20221 branch from 776d87a to c5ee3a4 Compare May 10, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant