-
Notifications
You must be signed in to change notification settings - Fork 409
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 pagestorage v3 ddl problem. #4691
Conversation
Signed-off-by: jiaqizho <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
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.
LGTM
Suggest also making tiflash/dbms/src/Server/StorageConfigParser.cpp Lines 205 to 209 in ebb28dc
|
Do we have some macro to detect the If we changed the default Or can we just config the setting in CI? |
Signed-off-by: jiaqizho <[email protected]>
b70b8c6 PTAL this change which used to open v3 by default. |
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.
LGTM
/merge |
@jiaqizho: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. 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. |
This pull request has been accepted and is ready to merge. Commit hash: 5e4a049
|
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Signed-off-by: jiaqizho [email protected]
What problem does this PR solve?
Issue Number: ref #3594 close #4712
Problem Summary:
ddl test
with enable_ps_v3 will get randomnullptr
error.root cause:
read(flied)
between v2 and v3 is that v3 will direct use totalentry.size
asbuffer
.So here is the situation:
entry.size
buffer when we useread(flied)
which is shorter than V2(If we don't need to get all offileds
).getFieldData
inPage.h
. Onceindex
issize() - 1
Then the buffer will longer thanfiled size
.ColumnFileTiny.cpp
, we will use buffer length to deserialize the buffer. and it will causeheap error
.For example:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note