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 not to be affected by the system time zone #277

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

ysksuzuki
Copy link
Contributor

@ysksuzuki ysksuzuki commented Jul 7, 2021

MySQLCluster.Status.Backup.Time is affected by the system time zone when it's retrieved.
CalcKey calculates a key for a storing backup file using the time which is affected by the system time zone, and it leads to the problem that RestoreManager can't find target backup files as expected.

Signed-off-by: Yusuke Suzuki yusuke-suzuki@cybozu.co.jp

MySQLCluster.Status.Backup.Time is affected by the system time zone
when it's retrieved.
CalcKey calculates a key for a storing backup file using the time
which is affected by the system time zone,
and it leads to the problem that RestoreManager can't find target
backup files as expected.

Signed-off-by: Yusuke Suzuki <yusuke-suzuki@cybozu.co.jp>
@ysksuzuki ysksuzuki self-assigned this Jul 7, 2021
Copy link
Member

@ymmt2005 ymmt2005 left a comment

Choose a reason for hiding this comment

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

LGTM

@ysksuzuki ysksuzuki merged commit 5e4697d into main Jul 7, 2021
@ysksuzuki ysksuzuki deleted the fix-backup-timezone branch July 7, 2021 00:37
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.

2 participants