Bug 1056518

Summary: dist-geo-rep: geo-rep create no longer throws warning message when the slave has less available size than master
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: pre-releaseCC: aavati, avishwan, csaba, gluster-bugs, grajaiya, nsathyan, vagarwal, vbhat
Target Milestone: ---Keywords: Regression, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1026787 Environment:
Last Closed: 2014-04-17 11:52:33 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: 1026787    
Bug Blocks:    

Comment 1 Anand Avati 2014-01-22 11:22:29 UTC
REVIEW: http://review.gluster.org/6746 (geo-rep: Fix no error when slave size less than master size) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 2 Anand Avati 2014-01-23 17:41:38 UTC
COMMIT: http://review.gluster.org/6746 committed in master by Vijay Bellur (vbellur) 
------
commit a0fbd41d2b10829503df1826bf2c98dc347de739
Author: Aravinda VK <avishwan>
Date:   Fri Jan 17 16:45:55 2014 +0530

    geo-rep: Fix no error when slave size less than master size
    
    in df command output, default block-size is 1K, but BUFFER_SIZE is
    in bytes, so verify will succeed even if slave size is less than
    master size.
    
    Added -B1 to df command(that is --block-size=1) to get all values in
    bytes.
    
    BUG: 1056518
    Change-Id: I2384d2a6f2505d967e0538b95fbf111c15b26f30
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/6746
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Anand Avati 2014-01-29 06:16:30 UTC
REVIEW: http://review.gluster.org/6846 (geo-rep: Fix no error when slave size less than master size) posted (#1) for review on release-3.5 by Aravinda VK (avishwan)

Comment 4 Anand Avati 2014-02-03 04:25:18 UTC
COMMIT: http://review.gluster.org/6846 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit 0f018e33ec8510ef0afc7daa9f12b7e21c8c03dc
Author: Aravinda VK <avishwan>
Date:   Fri Jan 17 16:45:55 2014 +0530

    geo-rep: Fix no error when slave size less than master size
    
    in df command output, default block-size is 1K, but BUFFER_SIZE is
    in bytes, so verify will succeed even if slave size is less than
    master size.
    
    Added -B1 to df command(that is --block-size=1) to get all values in
    bytes.
    
    BUG: 1056518
    Change-Id: I21157a66b0500c954cb6ffb2a2cdf29163b3b269
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/6746
    Reviewed-on: http://review.gluster.org/6846
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 5 Niels de Vos 2014-04-17 11:52:33 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-3.5.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user