Bug 1321322 - afr: add mtime based split-brain resolution to CLI
Summary: afr: add mtime based split-brain resolution to CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1321748
TreeView+ depends on / blocked
 
Reported: 2016-03-25 13:25 UTC by Ravishankar N
Modified: 2016-06-16 14:01 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1321748 (view as bug list)
Environment:
Last Closed: 2016-06-16 14:01:30 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ravishankar N 2016-03-25 13:25:38 UTC
Extended the CLI to include support for split-brain resolution based on mtime. 

The command syntax is:
    $:gluster volume heal <VOLNAME> split-brain latest-mtime <FILE>

where <FILE> can be either the full file name as seen from the root of the
volume (or) the gfid-string representation of the file.

Comment 1 Vijay Bellur 2016-03-25 13:33:18 UTC
REVIEW: http://review.gluster.org/13828 (afr: add mtime based split-brain resolution to CLI) posted (#1) for review on master by Ravishankar N (ravishankar)

Comment 2 Vijay Bellur 2016-03-25 14:38:50 UTC
REVIEW: http://review.gluster.org/13828 (afr: add mtime based split-brain resolution to CLI) posted (#2) for review on master by Ravishankar N (ravishankar)

Comment 3 Vijay Bellur 2016-03-28 06:02:27 UTC
REVIEW: http://review.gluster.org/13828 (afr: add mtime based split-brain resolution to CLI) posted (#3) for review on master by Ravishankar N (ravishankar)

Comment 4 Vijay Bellur 2016-03-28 07:59:34 UTC
REVIEW: http://review.gluster.org/13828 (afr: add mtime based split-brain resolution to CLI) posted (#4) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 5 Vijay Bellur 2016-03-28 09:56:38 UTC
REVIEW: http://review.gluster.org/13828 (afr: add mtime based split-brain resolution to CLI) posted (#5) for review on master by Ravishankar N (ravishankar)

Comment 6 Mike McCune 2016-03-28 23:24:30 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 7 Vijay Bellur 2016-03-29 19:08:42 UTC
COMMIT: http://review.gluster.org/13828 committed in master by Jeff Darcy (jdarcy) 
------
commit 08d18ef9257067fac510af408665360019566000
Author: Ravishankar N <ravishankar>
Date:   Fri Mar 25 18:48:30 2016 +0530

    afr: add mtime based split-brain resolution to CLI
    
    Extended the CLI to include support for split-brain resolution based on
    mtime. The command syntax is:
    
    $:gluster volume heal <VOLNAME> split-brain latest-mtime <FILE>
    
    where <FILE> can be either the full file name as seen from the root of the
    volume (or) the gfid-string representation of the file.
    
    Change-Id: I7a16f72ff1a4495aa69f43f22758a9404e958b4f
    BUG: 1321322
    Signed-off-by: Ravishankar N <ravishankar>
    Reviewed-on: http://review.gluster.org/13828
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 8 Ravishankar N 2016-03-31 15:43:30 UTC
Moving it back to POST since there's a bug in the .t that needs fixing.

Comment 9 Vijay Bellur 2016-03-31 15:46:31 UTC
REVIEW: http://review.gluster.org/13875 (tests: Fix typo in split-brain-healing.t) posted (#1) for review on master by Ravishankar N (ravishankar)

Comment 10 Vijay Bellur 2016-04-01 13:12:54 UTC
REVIEW: http://review.gluster.org/13875 (tests: Fix typo in split-brain-healing.t) posted (#2) for review on master by Ravishankar N (ravishankar)

Comment 11 Vijay Bellur 2016-04-04 05:52:25 UTC
REVIEW: http://review.gluster.org/13875 (tests: Fix typo in split-brain-healing.t) posted (#3) for review on master by Ravishankar N (ravishankar)

Comment 12 Vijay Bellur 2016-04-07 20:19:36 UTC
COMMIT: http://review.gluster.org/13875 committed in master by Jeff Darcy (jdarcy) 
------
commit 44fe595664b6c2da6cc6a1a9d1aa195f92c8b601
Author: Ravishankar N <ravishankar>
Date:   Thu Mar 31 21:15:14 2016 +0530

    tests: Fix typo in split-brain-healing.t
    
    Change-Id: Ie4554a13fd60d2b14518cc54e8c464f898970030
    BUG: 1321322
    Signed-off-by: Ravishankar N <ravishankar>
    Reviewed-on: http://review.gluster.org/13875
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Smoke: Gluster Build System <jenkins.com>

Comment 13 Niels de Vos 2016-06-16 14:01:30 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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