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

Clear intersecting regions in the cache when inserting a region #566

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

sticnarf
Copy link
Collaborator

Closes #565

@sticnarf sticnarf force-pushed the clear-intersecting-region-cache branch 2 times, most recently from e80022c to f28c748 Compare August 11, 2022 11:53
@sticnarf sticnarf marked this pull request as ready for review August 11, 2022 12:13
@youjiali1995 youjiali1995 self-requested a review August 12, 2022 03:36
@disksing
Copy link
Collaborator

@sticnarf please resolve conflicts

Signed-off-by: Yilin Chen <sticnarf@gmail.com>
@sticnarf sticnarf force-pushed the clear-intersecting-region-cache branch from f28c748 to 0bc7db3 Compare August 15, 2022 09:29
@disksing disksing merged commit 025596b into tikv:master Aug 15, 2022
sticnarf added a commit to sticnarf/client-go that referenced this pull request Oct 12, 2022
sticnarf added a commit to sticnarf/client-go that referenced this pull request Oct 12, 2022
sticnarf added a commit to sticnarf/client-go that referenced this pull request Oct 12, 2022
sticnarf added a commit to sticnarf/client-go that referenced this pull request Oct 12, 2022
cfzjywxk pushed a commit that referenced this pull request Oct 12, 2022
* Clear intersecting regions in the cache when inserting a region (#566)

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

* Acquire read lock in LockKeys to avoid data race (#585)

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Signed-off-by: Yilin Chen <sticnarf@gmail.com>

Signed-off-by: Yilin Chen <sticnarf@gmail.com>
disksing pushed a commit that referenced this pull request Oct 12, 2022
disksing pushed a commit that referenced this pull request Oct 12, 2022
disksing pushed a commit that referenced this pull request Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

insertRegionToCache should remove intersecting regions in the cache
3 participants