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 #736

Merged
merged 4 commits into from
Mar 27, 2023
Merged

fix data race #736

merged 4 commits into from
Mar 27, 2023

Conversation

Smityz
Copy link
Contributor

@Smityz Smityz commented Mar 9, 2023

close #735

@Smityz
Copy link
Contributor Author

Smityz commented Mar 21, 2023

@disksing Hi master, could you please help me to review this fix? It is only related to unit testing.

@disksing disksing merged commit bb350d6 into tikv:master Mar 27, 2023
you06 pushed a commit to you06/client-go that referenced this pull request Jun 27, 2023
Signed-off-by: Smityz <[email protected]>
Co-authored-by: disksing <[email protected]>
you06 pushed a commit to you06/client-go that referenced this pull request Jun 27, 2023
Signed-off-by: Smityz <[email protected]>
Co-authored-by: disksing <[email protected]>
Signed-off-by: you06 <[email protected]>
cfzjywxk pushed a commit that referenced this pull request Jun 28, 2023
#846)

* reload region cache when store is resolved from invalid

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

* reload region once

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

* build in go1.18

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

* build in go1.18

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

* handle region reload in resolve goroutine

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

* retest

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

* fix data race (#736)

Signed-off-by: Smityz <[email protected]>
Co-authored-by: disksing <[email protected]>
Signed-off-by: you06 <[email protected]>

* build with go 1.18

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

* fix integration test (#673)

Signed-off-by: disksing <[email protected]>
Signed-off-by: you06 <[email protected]>

* Update internal/locate/region_cache.go

Co-authored-by: crazycs <[email protected]>
Signed-off-by: you06 <[email protected]>

* address comment

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

* address comment

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

---------

Signed-off-by: you06 <[email protected]>
Signed-off-by: Smityz <[email protected]>
Signed-off-by: disksing <[email protected]>
Co-authored-by: Smilencer <[email protected]>
Co-authored-by: disksing <[email protected]>
Co-authored-by: crazycs <[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.

race test failed
2 participants