Bug 1275972 - Dist-geo-rep: Support geo-replication to work with sharding
Summary: Dist-geo-rep: Support geo-replication to work with sharding
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact:
URL:
Whiteboard:
Depends On: 1265148 1284453
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-28 09:08 UTC by Kotresh HR
Modified: 2016-03-22 08:15 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.9
Clone Of: 1265148
Environment:
Last Closed: 2016-03-22 08:15:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Kotresh HR 2015-10-28 09:08:41 UTC
+++ This bug was initially created as a clone of Bug #1265148 +++

Description of problem:
This bug tracks all the changes required for geo-replication to work with
sharding.

Requirements as per design:
  1. Both master and slave should be sharded
  2. Sharding configurations should be retained same as in master

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Geo-replication does not work with sharding

Expected results:
Geo-replication should work with sharding.

Additional info:

Comment 1 Vijay Bellur 2015-10-28 09:10:38 UTC
REVIEW: http://review.gluster.org/12438 (features/shard: Support geo-rep for sharded volume) posted (#1) for review on release-3.7 by Kotresh HR (khiremat)

Comment 2 Vijay Bellur 2015-10-29 08:40:05 UTC
COMMIT: http://review.gluster.org/12438 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit 0ce29bbd6a1cc459d4f4ffc50a4658988ef52039
Author: Kotresh HR <khiremat>
Date:   Thu Sep 24 15:42:14 2015 +0530

    features/shard: Support geo-rep for sharded volume
    
    Approach:
          Shard xlator on slave side is by passed for all the fops
    to geo-rep mount. So each shard on master is considered as a
    separate file for geo-rep and it syncs them separately on to
    slave. The extended attribute in which shard maintains the
    size is also synced from master and shard on slave doesn't
    calculate by itself.
    
    Pre-requisites:
          1. If master is sharded volume, slave also should be sharded.
          2. Slave's shard configurations should be same as master.
          3. Geo-rep config of xattr sync should not be disabled.
    
    All other dependant patches:
          1. http://review.gluster.org/#/c/12205/
          2. http://review.gluster.org/#/c/12206/
          3. http://review.gluster.org/#/c/12225/
          4. http://review.gluster.org/#/c/12226/
    
    BUG: 1275972
    Change-Id: Ieba70e75ebaebd70851454e1b85c0fe86022ad8d
    Reviewed-on: http://review.gluster.org/12228
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Krutika Dhananjay <kdhananj>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/12438
    Tested-by: Gluster Build System <jenkins.com>

Comment 3 Kotresh HR 2016-03-20 08:21:29 UTC
All other 3.7 dependent patches for geo-rep interop with sharding:

http://review.gluster.org/#/c/12732/
http://review.gluster.org/#/c/12729/
http://review.gluster.org/#/c/12721/
http://review.gluster.org/#/c/12731/


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