Bug 1321748 - 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: 3.7.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
Depends On: 1321322
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 05:05 UTC by Ravishankar N
Modified: 2016-04-19 07:12 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.7.11
Clone Of: 1321322
Environment:
Last Closed: 2016-04-19 07:12:36 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ravishankar N 2016-03-29 05:05:12 UTC
+++ This bug was initially created as a clone of Bug #1321322 +++

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.

--- Additional comment from Vijay Bellur on 2016-03-25 09:33:18 EDT ---

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)

--- Additional comment from Vijay Bellur on 2016-03-25 10:38:50 EDT ---

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)

--- Additional comment from Vijay Bellur on 2016-03-28 02:02:27 EDT ---

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)

--- Additional comment from Vijay Bellur on 2016-03-28 03:59:34 EDT ---

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)

--- Additional comment from Vijay Bellur on 2016-03-28 05:56:38 EDT ---

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)

--- Additional comment from Mike McCune on 2016-03-28 19:24:30 EDT ---

This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 1 Vijay Bellur 2016-03-29 05:06:11 UTC
REVIEW: http://review.gluster.org/13838 (afr: add mtime based split-brain resolution to CLI) posted (#1) for review on release-3.7 by Ravishankar N (ravishankar)

Comment 2 Vijay Bellur 2016-04-01 06:57:58 UTC
REVIEW: http://review.gluster.org/13838 (afr: add mtime based split-brain resolution to CLI) posted (#2) for review on release-3.7 by Ravishankar N (ravishankar)

Comment 3 Vijay Bellur 2016-04-04 17:34:06 UTC
COMMIT: http://review.gluster.org/13838 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit 76ed61bb5e3fefb3e4071a24f6dd26f37c950c77
Author: Ravishankar N <ravishankar>
Date:   Fri Mar 25 18:48:30 2016 +0530

    afr: add mtime based split-brain resolution to CLI
    
    Backport of http://review.gluster.org/#/c/13828/
    
    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: 1321748
    Signed-off-by: Ravishankar N <ravishankar>
    Reviewed-on: http://review.gluster.org/13838
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Anuradha Talur <atalur>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 4 Kaushal 2016-04-19 07:12:36 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.7.11, please open a new bug report.

glusterfs-3.7.11 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] https://www.gluster.org/pipermail/gluster-users/2016-April/026321.html
[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.