-
Notifications
You must be signed in to change notification settings - Fork 412
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
KVStore: introduce flexible region format #8614
Conversation
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
/run-all-tests |
Signed-off-by: CalvinNeo <[email protected]>
// Try serialize extra flags | ||
if (binary_version >= 2) | ||
{ | ||
static_assert(sizeof(eager_truncated_index) == sizeof(UInt64)); | ||
WriteBufferFromOwnString sub_buf; | ||
auto sub_size = writeBinary2(eager_truncated_index, sub_buf); | ||
RUNTIME_CHECK(sub_size, sizeof(UInt64)); | ||
auto s = sub_buf.releaseStr(); | ||
total_size += writePersistExtension(buf, RegionPersistFormat::EagerTruncate, s.data(), s.size()); | ||
} |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
…o persist-region-format
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
UInt32 flags = RegionPersistFormat::HAS_EAGER_TRUNCATE_INDEX; | ||
flags |= (expected_extension_count << 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant!
Co-authored-by: JaySon <[email protected]>
Co-authored-by: JaySon <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
Signed-off-by: CalvinNeo <[email protected]>
/run-all-tests |
|
/run-all-tests |
/run-all-tests |
/unhold |
/unhold |
/hold |
Signed-off-by: CalvinNeo <[email protected]>
…o persist-region-format
Signed-off-by: CalvinNeo <[email protected]>
/unhold |
/run-all-tests |
/run-integration-test |
|
/run-all-tests |
@CalvinNeo: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests
If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
@CalvinNeo: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests
If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/run-integration-test |
What problem does this PR solve?
Issue Number: close #8590 close #8624 close #8625
Problem Summary:
The idea is mainly explained in #8590.
Also fix some problems.
What is changed and how it works?
Check List
Tests
upgrade test
Side effects
Documentation
Release note