Bug 1614088 - kill_brick function needs to wait for brick to be killed
Summary: kill_brick function needs to wait for brick to be killed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tests
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-09 02:01 UTC by Atin Mukherjee
Modified: 2018-10-23 15:16 UTC (History)
1 user (show)

Fixed In Version: glusterfs-5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-23 15:16:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Atin Mukherjee 2018-08-09 02:01:19 UTC
Description of problem:

So far, kill_brick () waits a for a second after a brick is terminated. With brick multiplexing mode, given the detach operation of a brick is asynchronous this may not be sufficient. Instead, kill_brick () at the end should check for brick status to turn offline and then come out.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2018-08-09 02:03:45 UTC
REVIEW: https://review.gluster.org/20635 (tests: kill_brick should wait for brick status to become offline) posted (#3) for review on master by Atin Mukherjee

Comment 2 Worker Ant 2018-08-10 02:03:50 UTC
COMMIT: https://review.gluster.org/20635 committed in master by "Atin Mukherjee" <amukherj> with a commit message- tests: kill_brick should wait for brick status to become offline

Change-Id: I52e8eec7f334af37de433c444f4ddfc876fa56cc
Fixes: bz#1614088
Signed-off-by: Atin Mukherjee <amukherj>

Comment 3 Shyamsundar 2018-10-23 15:16:35 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-5.0, please open a new bug report.

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


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