Skip to content

Conversation

@ti-srebot
Copy link
Collaborator

@ti-srebot ti-srebot commented Jan 18, 2022

cherry-pick #479 to release-3.1
You can switch your code base to this Pull Request by using git-extras:

# In client-java repo:
git pr https://github.com/tikv/client-java/pull/482

After apply modifications, you can push your change to this PR via:

git push git@github.com:ti-srebot/client-java.git pr/482:release-3.1-2cd2b073dacb

Signed-off-by: marsishandsome marsishandsome@gmail.com

What problem does this PR solve?

close #435

What is changed and how it works?

SimpleDateFormat is not threadsafe.

Use different SimpleDateFormat object for different threads.

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Collaborator Author

/run-all-tests

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

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 marsishandsome merged commit 3bb2ead into tikv:release-3.1 Jan 18, 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