Bug 1422818 - [Geo-rep] Recreating geo-rep session with same slave after deleting with reset-sync-time fails to sync
Summary: [Geo-rep] Recreating geo-rep session with same slave after deleting with rese...
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 3.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On: 1422760 1422819
Blocks: 1422811
TreeView+ depends on / blocked
 
Reported: 2017-02-16 10:35 UTC by Kotresh HR
Modified: 2017-03-08 09:35 UTC (History)
1 user (show)

Fixed In Version:
Clone Of: 1422760
Environment:
Last Closed: 2017-03-08 09:35:22 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2017-02-16 10:35:34 UTC
+++ This bug was initially created as a clone of Bug #1422760 +++

Description of problem:
When geo-rep session is deleted with the option reset-sync-time and the data on slave is deleted, the recreation of session with same old slave volume is not syncing data from master to slave. It is observed, it happens only if the data to slave is synced via xsync before deletion of the geo-rep session. Only entries under root are being synced.

Version-Release number of selected component (if applicable):
mainline

How reproducible:
Always

Steps to Reproduce:
1.  Create geo-rep session between 'master' and 'slave' volume.
2.  Set change-detector to 'xsync'
3.  Create data on master and let it sync to slave
4.  Delete geo-rep session with 'reset-rsync-time'
5.  Delete data on slave volume.
6.  Recreate geo-rep session with same master and slave volume
7.  Start the geo-rep

Actual results:
Only first level entries under root are being synced and rest are not synced.

Expected results:
It is expected all the data from master is synced again.

Additional info:

--- Additional comment from Kotresh HR on 2017-02-16 00:53:46 EST ---

Patch posted: https://review.gluster.org/#/c/16629/1

Comment 1 Worker Ant 2017-02-16 10:37:36 UTC
REVIEW: https://review.gluster.org/16642 (geo-rep: Fix xsync crawl) posted (#1) for review on release-3.9 by Kotresh HR (khiremat)


Note You need to log in before you can comment on or make changes to this bug.