Skip to content

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

Merged
disksing merged 1 commit into
tikv:masterfrom
sticnarf:clear-intersecting-region-cache
Aug 15, 2022
Merged

Clear intersecting regions in the cache when inserting a region#566
disksing merged 1 commit into
tikv:masterfrom
sticnarf:clear-intersecting-region-cache

Conversation

@sticnarf
Copy link
Copy Markdown
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
Copy Markdown
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