Bug 1540554

Summary: Optimize glusterd_import_friend_volume code path
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0CC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1539510 Environment:
Last Closed: 2018-03-15 11:26:04 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: 1539510, 1543709    
Bug Blocks:    

Description Atin Mukherjee 2018-01-31 11:52:44 UTC
+++ This bug was initially created as a clone of Bug #1539510 +++

Description of problem:

When glusterd restarts and in case there's a version mismatch detected for one of the volumes, glusterd was ending up with updating all the volumes which is a
overkill.

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

How reproducible:
Always

--- Additional comment from Worker Ant on 2018-01-29 00:00:30 EST ---

REVIEW: https://review.gluster.org/19358 (glusterd: optimize glusterd import volumes code path) posted (#1) for review on master by Atin Mukherjee

--- Additional comment from Worker Ant on 2018-01-31 04:12:50 EST ---

COMMIT: https://review.gluster.org/19358 committed in master by "Amar Tumballi" <amarts> with a commit message- glusterd: optimize glusterd import volumes code path

In case there's a version mismatch detected for one of the volumes
glusterd was ending up with updating all the volumes which is a
overkill.

Change-Id: I6df792db391ce3a1697cfa9260f7dbc3f59aa62d
BUG: 1539510
Signed-off-by: Atin Mukherjee <amukherj>

Comment 1 Worker Ant 2018-01-31 11:54:07 UTC
REVIEW: https://review.gluster.org/19402 (glusterd: optimize glusterd import volumes code path) posted (#1) for review on release-4.0 by Atin Mukherjee

Comment 2 Worker Ant 2018-01-31 17:58:50 UTC
COMMIT: https://review.gluster.org/19402 committed in release-4.0 by "Shyamsundar Ranganathan" <srangana> with a commit message- glusterd: optimize glusterd import volumes code path

In case there's a version mismatch detected for one of the volumes
glusterd was ending up with updating all the volumes which is a
overkill.

>mainline patch : https://review.gluster.org/#/c/19358/

Change-Id: I6df792db391ce3a1697cfa9260f7dbc3f59aa62d
BUG: 1540554
Signed-off-by: Atin Mukherjee <amukherj>
(cherry picked from commit bb34b07fd2ec5e6c3eed4fe0cdf33479dbf5127b)

Comment 3 Shyamsundar 2018-03-15 11:26:04 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-4.0.0, please open a new bug report.

glusterfs-4.0.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://lists.gluster.org/pipermail/announce/2018-March/000092.html
[2] https://www.gluster.org/pipermail/gluster-users/