[Bugs] [Bug 1163108] gluster accepts invalid values when changing cluster.min-free-disk option

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 5 06:02:46 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1163108



--- Comment #13 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9104 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit e44d4e135747b04a5e2b7cfac21f9a3343e071db
Author: GauravKumarGarg <ggarg at redhat.com>
Date:   Wed Nov 12 17:41:33 2014 +0530

    DHT: cluster.min-free-disk option should validate correctly

    PROBLEM:
    Previously gluster accepting input value as a percentage which is out of
range
    [0-100] and accepting input value as a size (unit is byte) which is
fractional
    for option cluster.min-free-disk.

    FIX:
    Now with this change it will refer to correct validation function
    and it will accept value that is in range [0-100] for input value as a
    percentage and unsigned integer value for input as a size (unit in byte)
    for option cluster.min-free-disk.

    Change-Id: Iee1962a100542e146276cfc8a4068abddee2bf2d
    BUG: 1163108
    Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
    Reviewed-on: http://review.gluster.org/9104
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=d5O6RfSkS6&a=cc_unsubscribe


More information about the Bugs mailing list