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

Migrate tablets to new deserialization framework #1120

Conversation

wprzytula
Copy link
Collaborator

Tablets were omitted during migration in #1057.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • [ ] I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • [ ] I have provided docstrings for the public items that I want to introduce.
  • [ ] I have adjusted the documentation in ./docs/source/.
  • [ ] I added appropriate Fixes: annotations to PR description.

So far, Vec<u8> was used as the type for custom payload's values. Bytes
are better because:
- they allow shared ownership owned those values,
- they fit the new deserialization framework (they are required to
  create a `FrameSlice`), which will allow migrating raw tablets parsing
  to the new deserialization framework.
The new deserialization framework lets us elide a number of allocations
there.
Copy link

cargo semver-checks found no API-breaking changes in this PR! 🎉🥳
Checked commit: 453602c

@Lorak-mmk Lorak-mmk merged commit 00f39a4 into scylladb:main Nov 12, 2024
10 of 11 checks passed
@wprzytula wprzytula mentioned this pull request Nov 14, 2024
@wprzytula wprzytula deleted the migrate-tablets-to-new-deserialization-framework branch December 11, 2024 15:56
@wprzytula wprzytula mentioned this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants