Delete range can not remove expected data#1783
Merged
flowbehappy merged 5 commits intopingcap:masterfrom Apr 16, 2021
flowbehappy:enable_relevant_place.master
Merged
Delete range can not remove expected data#1783flowbehappy merged 5 commits intopingcap:masterfrom flowbehappy:enable_relevant_place.master
flowbehappy merged 5 commits intopingcap:masterfrom
flowbehappy:enable_relevant_place.master
Conversation
JaySon-Huang
approved these changes
Apr 15, 2021
Contributor
JaySon-Huang
left a comment
There was a problem hiding this comment.
LGTM
Please fill the Release note
Contributor
Author
|
/run-all-tests |
Collaborator
|
cherry pick to release-4.0 in PR #1789 |
Collaborator
|
cherry pick to release-5.0 in PR #1790 |
flowbehappy
pushed a commit
that referenced
this pull request
Apr 16, 2021
flowbehappy
added a commit
that referenced
this pull request
Apr 16, 2021
Member
|
@flowbehappy: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions 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 kubernetes/test-infra repository. |
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Problem Summary:
Currently in DT engine, we only do place index for relevant query ranges in a segment. It can speed up individual region read, but the result of place index can not be shared between other region reads. It will eventually slow down the whole query processing if we have lots of cop requests.
Some data failed to be removed after region peer migrated to other nodes.
What is changed and how it works?
What's Changed:
dt_enable_relevant_place, and by default set totrue, means enabling relevant place. The behavior is the same as the previous, but we can use the option to disable the relevant place.Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note