[Bugs] [Bug 1200733] [geo-rep]: some of the pre existing files before geo-rep session did not sync to slave

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 11 10:21:27 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1200733

Aravinda VK <avishwan at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |POST



--- Comment #2 from Aravinda VK <avishwan at redhat.com> ---
Root caused the issue:

If files created before Geo-rep create, xtime xattr will not be available.
After geo-rep create it enables indexing. Marker will update xtime for all the
files which are created/modified after indexing is enabled.

Geo-rep uses changelog register time as upper limit for xsync to decide a file
should be synced or not. It compares xtime of each file >= upper_limit, If
xtime is not found it updates xtime with current time. But this updated xtime
is greater than upper_limit, xsync skips this file by thinking that changelog
will pick this. But changelog will not have CREATE info for this file only
SETXATTR/DATA is recorded.

Patch sent to fix this issue: 
http://review.gluster.org/#/c/9855/

-- 
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=KrmL9lFOsZ&a=cc_unsubscribe


More information about the Bugs mailing list