Bug 1474812

Summary: [Remove-brick] Few files are getting migrated eventhough the bricks crossed cluster.min-free-disk value
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Prasad Desala <tdesala>
Component: distributeAssignee: Susant Kumar Palai <spalai>
Status: CLOSED ERRATA QA Contact: Karan Sandha <ksandha>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, rcyriac, rhinduja, rhs-bugs, storage-qa-internal
Target Milestone: ---Keywords: Regression
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1475282 (view as bug list) Environment:
Last Closed: 2017-09-21 05:04:21 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:    
Bug Blocks: 1417151, 1475282, 1477152    

Description Prasad Desala 2017-07-25 12:34:07 UTC
Description of problem:
=======================
[Remove-brick] Few files are getting migrated eventhough the bricks crossed cluster.min-free-disk value

Version-Release number of selected component (if applicable):
3.8.4-35.el7rhgs.x86_64

How reproducible:
Intermittently

Steps to Reproduce:
====================
1) Create a 6x2 volume and start it.
2) FUSE mount it on multiple clients.
3) From client, fill the mount point with data in such a way that the back-end bricks reaches till 95%
4) set min-free-disk value to 30% using below command,
gluster v set <vol-name> cluster.min-free-disk 30%
6) Remove 2 bricks.

Actual results:
===============
Few files are getting migrated eventhough the bricks crossed cluster.min-free-disk value.

Expected results:
=================
As the bricks crossed the min-free-disk value, when a migration is called on the file to the brick, the migration should fail as the brick has crossed its min-free-disk value.

Comment 6 Susant Kumar Palai 2017-07-26 11:54:00 UTC
upstream patches:
https://review.gluster.org/#/c/17876/
https://review.gluster.org/#/c/17868/

Comment 11 errata-xmlrpc 2017-09-21 05:04:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:2774