Bug 764711 (GLUSTER-2979)

Summary: Improper output when 'min-file-size' is more than 'max-file-size' in volume set
Product: [Community] GlusterFS Reporter: M S Vishwanath Bhat <vbhat>
Component: cliAssignee: Rahul C S <rahulcs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 3.1.3CC: gluster-bugs, mzywusko, rahulcs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description M S Vishwanath Bhat 2011-06-02 10:02:06 UTC
When I run following command in 3.1.3

root@tortuga:/tmp# /opt/313/sbin/gluster volume set hosdu performance.cache-max-file-size 10MB
Set volume successful
root@tortuga:/tmp# /opt/313/sbin/gluster volume set hosdu performance.cache-min-file-size 15MB
Error, min-file-size greaterthan max-file-size
root@tortuga:/tmp# 

There should be cosmetic changes in the output. The output should be "Error, min-file-size greater than max-file-size". There should be space between 'greater' and 'than'.

Comment 1 Anand Avati 2011-06-08 13:58:08 UTC
PATCH: http://patches.gluster.com/patch/7366 in release-3.1 (Fixed improper output when 'min-file-size' is more than 'max-file-size' in volume set)