Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(mysql): error 'backup retention should be > transaction log retention' on mysql replica#785

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
diablo02000 wants to merge2 commits intoterraform-google-modules:main
base:main
Choose a base branch
Loading
fromdiablo02000:fix/backup_retention_settings_on_replica

Conversation

@diablo02000
Copy link
Contributor

Description:

When creating Backup Cloud SQL, the predifinedbackup_retention_settings are the following

backup_configuration {backup_retention_settings {retained_backups=7retention_unit="COUNT"  }}

Issue:

Iftransaction_log_retention_days is set to a value greater than the number ofretained_backups, the following error occurs:

Error, failed to update instance settings for : googleapi: Error 400: Invalid request: backup retention should be > transaction log retention., invalid

Proposed Fix:

Updateretained_backups value whentransaction_log_retention_days is greater that predefined value (predefined: 7).

@diablo02000diablo02000force-pushed thefix/backup_retention_settings_on_replica branch from659ad2e tob1b5fceCompareOctober 30, 2025 15:50
@diablo02000diablo02000force-pushed thefix/backup_retention_settings_on_replica branch fromb1b5fce to183384dCompareOctober 30, 2025 15:51
@imrannayer
Copy link
Collaborator

/gcbrun

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ayushmjainayushmjainAwaiting requested review from ayushmjainayushmjain is a code owner

@imrannayerimrannayerAwaiting requested review from imrannayerimrannayer is a code owner

@q2wq2wAwaiting requested review from q2wq2w is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@diablo02000@imrannayer

[8]ページ先頭

©2009-2025 Movatter.jp