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

fix data race in the LockKeys #655

Merged
merged 3 commits into from
Jan 6, 2023
Merged

Conversation

hawkingrei
Copy link
Member

@hawkingrei hawkingrei commented Jan 5, 2023

Signed-off-by: Weizhen Wang [email protected]

ref pingcap/tidb#40350

@hawkingrei hawkingrei marked this pull request as draft January 5, 2023 12:37
Signed-off-by: Weizhen Wang <[email protected]>
@hawkingrei hawkingrei marked this pull request as ready for review January 6, 2023 01:44
Copy link
Collaborator

@sticnarf sticnarf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@disksing disksing merged commit 5a4b9ac into tikv:master Jan 6, 2023
@hawkingrei hawkingrei deleted the fix_data_kvtxn branch January 6, 2023 05:31
sticnarf pushed a commit to sticnarf/client-go that referenced this pull request Jan 31, 2023
disksing pushed a commit that referenced this pull request Jan 31, 2023
* RuntimeStat: Clone `SnapshotRuntimeStats` Completely (#641)

* add more info for cloning SnapshotRuntimeStats

Signed-off-by: TonsnakeLin <[email protected]>

* add more info for cloning SnapshotRuntimeStats

Signed-off-by: TonsnakeLin <[email protected]>

* shallow copy SnapshotRuntimeStats

Signed-off-by: TonsnakeLin <[email protected]>

Signed-off-by: TonsnakeLin <[email protected]>
Co-authored-by: Yilin Chen <[email protected]>

* fix data race in the LockKeys (#655)

Signed-off-by: Weizhen Wang <[email protected]>

* Add a background region cache GC goroutine (#664)

Signed-off-by: Yilin Chen <[email protected]>

* Rewind after cacheGC reaches the end (#678)

Signed-off-by: Yilin Chen <[email protected]>

---------

Signed-off-by: TonsnakeLin <[email protected]>
Signed-off-by: Weizhen Wang <[email protected]>
Signed-off-by: Yilin Chen <[email protected]>
Co-authored-by: TonsnakeLin <[email protected]>
Co-authored-by: Weizhen Wang <[email protected]>
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.

3 participants