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

server: fix potential timezone related bugs caused by time.Local #14572

Merged
merged 16 commits into from
Feb 15, 2020

Conversation

Rustin170506
Copy link
Member

@Rustin170506 Rustin170506 commented Jan 23, 2020

What problem does this PR solve?

#13626

What is changed and how it works?

Check List

Tests

None

Code changes

None

Side effects

None

Related changes

None

Release note

None

@sre-bot sre-bot added the contribution This PR is from a community contributor. label Jan 23, 2020
@Rustin170506 Rustin170506 marked this pull request as ready for review January 23, 2020 15:12
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.

It's better to add a unit test

@Rustin170506
Copy link
Member Author

@sre-bot /run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jan 27, 2020

/run-all-tests

@Rustin170506 Rustin170506 force-pushed the rustin-patch-server-util branch 2 times, most recently from f49fb14 to c5f0c0b Compare January 27, 2020 10:47
server: add test case

server: add more test cases

server: add assert to time zone

server: add assert
@Rustin170506 Rustin170506 force-pushed the rustin-patch-server-util branch 2 times, most recently from 63f6628 to 74b0382 Compare January 27, 2020 11:22
@Rustin170506
Copy link
Member Author

Pass all tests, PTAL~

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

@zz-jason zz-jason added the status/LGT1 Indicates that a PR has LGTM 1. label Jan 27, 2020
@zz-jason zz-jason requested a review from bb7133 January 27, 2020 11:28
ngaut
ngaut previously approved these changes Jan 27, 2020
Copy link
Member

@ngaut ngaut left a comment

Choose a reason for hiding this comment

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

LGTM

@ngaut ngaut added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jan 27, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Jan 27, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jan 27, 2020

@Rustin-Liu merge failed.

@shenli
Copy link
Member

shenli commented Jan 27, 2020

@sre-bot /run-all-tests

@bb7133
Copy link
Member

bb7133 commented Jan 28, 2020

/run-all-tests

@Rustin170506
Copy link
Member Author

@sre-bot /merge

@shenli
Copy link
Member

shenli commented Jan 28, 2020

@Rustin-Liu we are working on the CI problem.

@reafans
Copy link
Contributor

reafans commented Feb 14, 2020

lgtm

@reafans reafans added status/LGT1 Indicates that a PR has LGTM 1. and removed status/LGT2 Indicates that a PR has LGTM 2. labels Feb 14, 2020
@ngaut ngaut merged commit efa179c into pingcap:master Feb 15, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Feb 15, 2020

cherry pick to release-3.0 failed

@sre-bot
Copy link
Contributor

sre-bot commented Feb 15, 2020

cherry pick to release-2.1 failed

@Rustin170506
Copy link
Member Author

@bb7133 cherry-pick failed.

@sre-bot
Copy link
Contributor

sre-bot commented Apr 7, 2020

It seems that, not for sure, we failed to cherry-pick this commit to release-2.1 release-3.0. Please comment '/run-cherry-picker' to try to trigger the cherry-picker if we did fail to cherry-pick this commit before. @zz-jason PTAL.

@zz-jason zz-jason added needs-cherry-pick-2.1 status/LGT2 Indicates that a PR has LGTM 2. and removed needs-cherry-pick-2.1 status/LGT1 Indicates that a PR has LGTM 1. labels Apr 7, 2020
@XuHuaiyu
Copy link
Contributor

XuHuaiyu commented Apr 8, 2020

/run-cherry-picker

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Apr 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-2.1 in PR #16185

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Apr 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-3.0 in PR #16186

sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Apr 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Apr 8, 2020

cherry pick to release-3.1 in PR #16187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/server contribution This PR is from a community contributor. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants