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

Unmounting replica results in a directory delete #262

Open
Alexander-Shukaev opened this issue May 5, 2019 · 2 comments

Comments

Projects
None yet
1 participant
@Alexander-Shukaev
Copy link

commented May 5, 2019

When replica root is a mount point itself, unmounting it may result in a top-level directory deletes in the counterpart replica. Is there a way to prevent this via options? Seems like mountpoint option is for a different purpose. Otherwise, this appears as a severe bug. Does anybody confirm the same problem?

@Alexander-Shukaev

This comment has been minimized.

Copy link
Author

commented May 5, 2019

By the way, forgot to mention that mounting the first replica back does not result in either a delete of the same top-level directories or in copying those back to the counterpart replica. Meaning that the data between two is left in this broken state forever.

@Alexander-Shukaev

This comment has been minimized.

Copy link
Author

commented May 5, 2019

Configuration:

auto           = true
batch          = true
confirmbigdel  = true
confirmmerge   = false
copyonconflict = true
copyprog       = rsync --compress --inplace --no-whole-file
copyprogrest   = rsync --compress --inplace --no-whole-file --partial
copyquoterem   = default
copythreshold  = 8192
fastcheck      = default
group          = true
links          = default
log            = true
owner          = true
perms          = -1
prefer         = newer
repeat         = watch
silent         = true
times          = true
ui             = text
watch          = true

I'm surprised confirmbigdel has no promised effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.