Skip to content

Conversation

@iosmanthus
Copy link
Member

Signed-off-by: iosmanthus myosmanthustree@gmail.com

What problem does this PR solve?

Issue Number: close #489

ConcreteBackOffer may trigger by multiple threads but the backOffFunctionMap is HashMap which is not thread-safe. This might trigger a race exception while this backoffer is shared between threads.

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
marsishandsome
marsishandsome previously approved these changes Jan 20, 2022
Copy link
Collaborator

@marsishandsome marsishandsome left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
iosmanthus and others added 2 commits January 20, 2022 21:42
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
@marsishandsome
Copy link
Collaborator

/run-all-tests

Copy link
Collaborator

@marsishandsome marsishandsome left a comment

Choose a reason for hiding this comment

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

LGTM

@marsishandsome
Copy link
Collaborator

why not commit to master branch first?

@marsishandsome
Copy link
Collaborator

/run-all-tests

1 similar comment
@marsishandsome
Copy link
Collaborator

/run-all-tests

@marsishandsome marsishandsome merged commit a70c050 into tikv:release-3.1 Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants