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

fix alignment issue in collector and validate #255

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

YangKeao
Copy link
Member

@YangKeao YangKeao commented Nov 7, 2024

close #250
close #232

This PR used AVec to create an aligned vector. As the size of the whole file is predictable, it's still easy to read it.

The flush_n related logic comes from #241. This PR is easier to understand.

@YangKeao YangKeao force-pushed the fix-232 branch 6 times, most recently from f6ac011 to a6365ec Compare November 7, 2024 05:58
- Fix the alignment of the collector and validate function (#255)

### Changed
- Bump the MSRV to 1.66.0 (#255)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bump the MSRV to allow using AVec. The dependency aligned-vec -> equator-macro requires the feature from new version.

@YangKeao
Copy link
Member Author

YangKeao commented Nov 7, 2024

/cc @Connor1996

@ti-chi-bot ti-chi-bot bot requested a review from Connor1996 November 7, 2024 07:37
Copy link
Member

@Connor1996 Connor1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YangKeao YangKeao merged commit b1d02fd into tikv:master Nov 7, 2024
24 checks passed
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.

Tests fail with latest rustc. [Unsound] Slice created from unaligned pointer
2 participants