Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement proper NO_METADATA support for cassandra protocol #928

Merged
merged 4 commits into from Dec 7, 2022

Conversation

rukai
Copy link
Member

@rukai rukai commented Nov 21, 2022

closes #905

I originally thought this would be more involved because I thought the encode logic needed to special case NO_METADATA just like we do for decoding.
But it turns out that the standard implementation for encoding null and bytes data types works just fine with the null and bytes types that we generate for NO_METADATA decoding.

To prove this I added DebugForceEncode to cassandra-cluster-v4.
I think its fine to add this to an existing test because we have the very similar cassandra-cluster-multi-rack test case which will test CassandraSinkCluster without the DebugForceEncode.

@rukai rukai requested a review from conorbros November 21, 2022 07:38
@rukai rukai enabled auto-merge (squash) December 7, 2022 22:41
@rukai rukai merged commit 38698c3 into shotover:main Dec 7, 2022
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.

cassandra results NO_METADATA flag bugs
3 participants