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: Revert change in behavior for MariaDB and MySQL with regards to time zone assumptions for persisted timestamps #481

Merged
merged 6 commits into from
Apr 18, 2024

Conversation

kagkarlsson
Copy link
Owner

Change back to default behavior for MySQL and MariaDB with regards to timestamp persistence and assumptions. It is recommended to persist timestamps in UTC for users of MariaDB and MySQL, but db-scheduler will not enforce it as default, since it in reality requires a controlled upgrade.

Ideally the upgrade-process should be:

  1. All instances of the scheduler should be shutdown
  2. Timestamps in the database-table migrated to UTC
  3. Configuration updated to use alwaysPersistTimestampInUTC()
  4. Instances started again

@kagkarlsson kagkarlsson changed the title Let users decide when to migrate to UTC time zone for MariaDB and MySQL fix: Let users decide when to migrate to UTC time zone for MariaDB and MySQL Apr 18, 2024
@kagkarlsson kagkarlsson changed the title fix: Let users decide when to migrate to UTC time zone for MariaDB and MySQL fix: Revert change in behavior for MariaDB and MySQL with regards to time zone assumptions for persisted timestamps Apr 18, 2024
@kagkarlsson kagkarlsson merged commit b5578ef into master Apr 18, 2024
13 checks passed
@kagkarlsson
Copy link
Owner Author

🎉 This issue has been resolved in v14.0.0 (Release Notes)

@kagkarlsson kagkarlsson added the released Issue has been released label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Issue has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant