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 incorrect directory remove in zero copy replication #40844

Merged
merged 4 commits into from
Sep 1, 2022

Conversation

alesapin
Copy link
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Fix extremely rare bug which can lead to potential data loss in zero-copy replication.

@robot-ch-test-poll robot-ch-test-poll added the pr-bugfix Pull request with bugfix, not backported by default label Aug 31, 2022
@tavplubix tavplubix self-assigned this Aug 31, 2022
@alesapin
Copy link
Member Author

alesapin commented Sep 1, 2022

Integration -- just timeout on start.
Stateless -- timeout for random test (strange)
memory -- OOM?

@alesapin alesapin merged commit f2bcd63 into master Sep 1, 2022
@alesapin alesapin deleted the fix_incorrect_remove_in_zero_copy branch September 1, 2022 11:22
{
keep_shared = disk->supportZeroCopyReplication() && settings->allow_remote_fs_zero_copy_replication;
if (keep_shared)
LOG_WARNING(log, "Since zero-copy replication is enabled we are not going to remove blobs from shared storage for {}", full_path);
Copy link
Member

Choose a reason for hiding this comment

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

So it means that they will never be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blob hunter pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants