-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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 bug when unsigned pk meets feedback ranges #10307
*: fix bug when unsigned pk meets feedback ranges #10307
Conversation
ad8ec79
to
0da34a4
Compare
Could you add some test cases? |
@eurekaka
So if we need to call |
When adding tests, finding that though the response can be sent correctly, but the feedback cannot be updated correctly. Need more changes to correct it. |
@@ -96,6 +96,9 @@ func (e *TableReaderExecutor) Open(ctx context.Context) error { | |||
} | |||
|
|||
e.resultHandler = &tableResultHandler{} | |||
if e.feedback != nil && e.feedback.Hist() != nil { | |||
e.ranges = e.feedback.Hist().SplitRange(e.ranges) | |||
} |
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.
Got it, please add the comment here to inform that SplitRange
must be placed before splitRanges
and explain the reasons.
0da34a4
to
0e3f073
Compare
@lamxTyler @eurekaka Addressed, PTAL |
@winoros CI failed, PTAL |
@eurekaka fixed |
@lamxTyler Fixed |
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
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
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
What problem does this PR solve?
fix #10242
What is changed and how it works?
Port some codes from #7921
Check List
Tests
Code changes
Related changes