Skip to content

Ensure schema created before 2.1 without tableId in folder name can b…#4661

Open
Jollyplum wants to merge 1 commit intoapache:cassandra-5.0from
Jollyplum:mbyrd/CASSANDRA-21173/cassandra-5.0
Open

Ensure schema created before 2.1 without tableId in folder name can b…#4661
Jollyplum wants to merge 1 commit intoapache:cassandra-5.0from
Jollyplum:mbyrd/CASSANDRA-21173/cassandra-5.0

Conversation

@Jollyplum
Copy link
Contributor

…e loaded in SnapshotLoader

We now store tableId in manifest.json so that snapshots from tables without tableId in folder name loaded by SnapshotLoader have this information.

End result is that nodetool clearsnapshot and listsnapshot function for such snapshots

patch by Matt Byrd; reviewed by for CASSANDRA-21173

@Jollyplum Jollyplum force-pushed the mbyrd/CASSANDRA-21173/cassandra-5.0 branch from 0f3fd0a to a3516dd Compare March 12, 2026 12:15
…e loaded in SnapshotLoader

Best effort attempt to get tableId from CFS, fallback to null which
still allows snapshot to be loaded

End result is that nodetool clearsnapshot and listsnapshot function for such
snapshots on restart

patch by Matt Byrd; reviewed by for CASSANDRA-21173
@Jollyplum Jollyplum force-pushed the mbyrd/CASSANDRA-21173/cassandra-5.0 branch from a3516dd to 83bfe22 Compare March 16, 2026 09:27
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