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

Add config purge-backup-on-fullsync #245

Merged
merged 2 commits into from
May 6, 2021
Merged

Add config purge-backup-on-fullsync #245

merged 2 commits into from
May 6, 2021

Conversation

ShooterIT
Copy link
Member

@ShooterIT ShooterIT commented May 3, 2021

If replicas need full synchronization with master, master need to create
checkpoint for feeding replicas, and replicas also stage a checkpoint of
the master. If we also keep the backup, it maybe occupy extra disk space.
You can enable 'purge-backup-on-fullsync' if disk is not sufficient, but
that may cause remote backup copy failing. This config is no by default.

Other changes

  • Simply how to check checkpoint exists or not
  • Adjust cron for purging backup and checkpoint

If replicas need full synchronization with maste, master need to create
checkpoint for feeding replicas, and replicas also stage a checkpoint of
the maste. If we also keep the backup, it maybe occupy extra disk space.
You can enable 'purge-backup-on-fullsync' if disk is not sufficient, but
that may cause remote backup copy failing. This config is no by default.

Other changes
  - Simply how to check checkpoint exists or not
  - Adjust cron for purging backup and checkpoint
@ShooterIT ShooterIT requested review from karelrooted and git-hulk and removed request for karelrooted May 3, 2021 14:23
@ShooterIT ShooterIT merged commit 6a0dca7 into apache:unstable May 6, 2021
@ShooterIT ShooterIT deleted the backup-fullsync branch May 6, 2021 03:37
@ShooterIT ShooterIT mentioned this pull request May 18, 2021
ShooterIT added a commit that referenced this pull request May 18, 2021
If replicas need full synchronization with master, master need to create
checkpoint for feeding replicas, and replicas also stage a checkpoint of
the master. If we also keep the backup, it maybe occupy extra disk space.
You can enable 'purge-backup-on-fullsync' if disk is not sufficient, but
that may cause remote backup copy failing. This config is no by default.

Other changes
  - Simply how to check checkpoint exists or not
  - Adjust cron for purging backup and checkpoint
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.

3 participants