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

Remove deprecated option expire_logs_days from default config #1625

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

fraenki
Copy link
Contributor

@fraenki fraenki commented Mar 13, 2024

Summary

The option expire_logs_days is deprecated and should no longer be used. This PR removes it from the default configuration.

Additional Context

This change should only have a minor effect on existing installations. Old versions of MySQL (5.7) will fallback to their internal default value of expire_logs_days. Newer versions (MySQL 8.0) will probably already use the new option binlog_expire_logs_seconds.

This removes the following warning from MySQL's log:

[Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.

Related Issues (if any)

none

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

@fraenki fraenki requested review from alexjfisher, bastelfreak and a team as code owners March 13, 2024 11:44
@CLAassistant
Copy link

CLAassistant commented Mar 13, 2024

CLA assistant check
All committers have signed the CLA.

@fraenki fraenki changed the title remove deprecated option expire_logs_days from default config Remove deprecated option expire_logs_days from default config Mar 13, 2024
@bastelfreak bastelfreak mentioned this pull request Jul 5, 2024
3 tasks
@Ramesh7 Ramesh7 merged commit 0cb7c16 into puppetlabs:main Jul 5, 2024
41 checks passed
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.

5 participants