Bug 1452528 - rebalance: fix space check for migration for rebalance
Summary: rebalance: fix space check for migration for rebalance
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.3.0
Assignee: Susant Kumar Palai
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-05-19 07:13 UTC by Susant Kumar Palai
Modified: 2017-09-21 04:43 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.8.4-26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:43:23 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

Description Susant Kumar Palai 2017-05-19 07:13:42 UTC
Description of problem:

Before migration of file we do fallocate on the source subvol.
With that we do not need to add file size to the source disk size(avail), to decide whether the file needs to be migrated for a rebalance(not remove-brick) case.

This needs to be fixed in __dht_check_free_space.

Comment 9 Prasad Desala 2017-07-31 12:51:14 UTC
Followed the same steps as in the Comment 8, rebalance skipped the file for migration. 
Also, took Susant help and confirmed that this issue is fixed through gdb. Hence, moving this BZ to Verified.

Comment 10 Prasad Desala 2017-07-31 12:52:12 UTC
Verified on glusterfs version: 3.8.4-36.el7rhgs.x86_64

Comment 12 errata-xmlrpc 2017-09-21 04:43:23 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


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