Bug 1234846

Summary: GlusterD does not store updated peerinfo objects.
Product: [Community] GlusterFS Reporter: Kaushal <kaushal>
Component: glusterdAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.3CC: bugs, gluster-bugs, rabhat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.6.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1234842 Environment:
Last Closed: 2015-12-04 08:44:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1234842    
Bug Blocks: 1216965    

Description Kaushal 2015-06-23 11:31:07 UTC
+++ This bug was initially created as a clone of Bug #1234842 +++

During a friend update, if glusterd updated the hostnames of a peerinfo object, it wouldn't store the updated peerinfo object. This could cause brick resolution to fail on glusterd restart if the bricks used hostname from the newly added hostnames.

Comment 1 Anand Avati 2015-06-25 05:32:39 UTC
REVIEW: http://review.gluster.org/11395 (glusterd: Store peerinfo after updating hostnames) posted (#1) for review on release-3.6 by Kaushal M (kaushal)

Comment 2 Anand Avati 2015-06-27 04:12:03 UTC
REVIEW: http://review.gluster.org/11395 (glusterd: Store peerinfo after updating hostnames) posted (#2) for review on release-3.6 by Kaushal M (kaushal)

Comment 3 Anand Avati 2015-07-10 07:29:47 UTC
COMMIT: http://review.gluster.org/11395 committed in release-3.6 by Raghavendra Bhat (raghavendra) 
------
commit d35d7c1bf986cacb65da912123b9a34ebe946bef
Author: Kaushal M <kaushal>
Date:   Tue Jun 23 15:40:59 2015 +0530

    glusterd: Store peerinfo after updating hostnames
    
      Backport of https://review.gluster.org/11365
    
    Change-Id: I1d36ac63de810061d60edb28b6f591ae45d5cd3a
    BUG: 1234846
    Signed-off-by: Kaushal M <kaushal>
    Reviewed-on: http://review.gluster.org/11395
    Tested-by: Gluster Build System <jenkins.com>
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Raghavendra Bhat <raghavendra>