Skip to content

Conversation

@pauloricardomg
Copy link
Contributor

Legacy Cassandra 3.x sstables are incompatible with zero-copy streaming in Cassandra 5.0+. This adds a --disable-zero-copy-streaming flag to sstableloader that disables zero-copy streaming when loading legacy sstables.

This patch implements the flag in LoaderOptions and BulkLoader, and adds tests to verify that loading legacy 3.11 sstables fails with zero-copy enabled and succeeds with zero-copy disabled.

…bles

Legacy Cassandra 3.x sstables are incompatible with zero-copy streaming
in Cassandra 5.0+. This adds a --disable-zero-copy-streaming flag to
sstableloader that disables zero-copy streaming when loading legacy
sstables.

This patch implements the flag in LoaderOptions and BulkLoader, and
adds tests to verify that loading legacy 3.11 sstables fails with
zero-copy enabled and succeeds with zero-copy disabled.

patch by Paulo Motta; reviewed by XXXX for CASSANDRA-21092
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