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

Potential timezone related bugs caused by gotime.Local location #13626

Closed
bb7133 opened this issue Nov 20, 2019 · 5 comments · Fixed by #25510
Closed

Potential timezone related bugs caused by gotime.Local location #13626

bb7133 opened this issue Nov 20, 2019 · 5 comments · Fixed by #25510
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@bb7133
Copy link
Member

bb7133 commented Nov 20, 2019

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    When dealing with timestamps, currently there are several pieces of codes that used gotime.Local as the timezone location rather than system/global/session variables, which may lead to unexpected errors:
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    Such codes exist in all TiDB versions.
@bb7133 bb7133 added type/bug The issue is confirmed as a bug. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Nov 20, 2019
@Rustin170506
Copy link
Member

I am working on it.

@bb7133
Copy link
Member Author

bb7133 commented Nov 26, 2019

Thanks! @Rustin-Liu

@fzhedu
Copy link
Contributor

fzhedu commented Aug 25, 2020

@bb7133 can we close this issue?

@Rustin170506
Copy link
Member

Rustin170506 commented Aug 25, 2020

I remember it seems that we still have this problem in some places. So maybe we can find all the problems and open a new issue to track them.

Or just keep this and update the issue desc? @fzhedu cc: @bb7133

@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants