[Bugs] [Bug 1601314] [geo-rep]: Geo-replication not syncing renamed symlink
bugzilla at redhat.com
bugzilla at redhat.com
Tue Aug 14 18:19:57 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1601314
Kotresh HR <khiremat at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Doc Type|If docs needed, set a value |Bug Fix
--- Doc Text *updated* ---
Cause:
Since directory operations are processed by multiple workers of geo-replication. If symlink is created and renamed followed by directory creation with same name as the original symlink file. The race causes out of order syncing causing directory to be synced first failing to sync the rename of the symlink.
Consequence:
Geo-rep sometimes fails to sync the rename of symlink.
Example I/O pattern:
1. touch file1
2. ln -s "./file1" sym_400
3. mv sym_400 renamed_sym_400
4. mkdir sym_400
The file 'renamed_sym_400' failed to sync to slave
Fix:
While processing out of order RENAME, if name already exists use gfid to check the identity of the file. Using which, such renames can be properly synced.
Result:
Geo-rep syncs renames of symlink
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=sJAuOEedWt&a=cc_unsubscribe
More information about the Bugs
mailing list