[Bugs] [Bug 1348056] cli core dumped while providing/ not wrong values during arbiter replica volume

bugzilla at redhat.com bugzilla at redhat.com
Tue Jun 28 06:37:11 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14765 committed in release-3.7 by Atin
Mukherjee (amukherj at redhat.com) 
------
commit 984ebffd03aaf6e1da9981b804d5a368e56150ee
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Thu Jun 16 10:21:53 2016 +0530

    cli: fix crash in arbiter keyword parsing

    Backport of http://review.gluster.org/#/c/14738/

    A negative case like `gluster volume create volname arbiter 3
/bricks{1..3}`
    must not crash. 'arbiter' keyword is valid only for (3 way) replica
volumes.

    The .t that is added will crash and create a core *without* the fix when
    run but will still pass all TESTs. Since the regression framework fails
    the .t if it creates a core,  we can consider it a valid test 'that
    fails without the fix'.

    Change-Id: Ie2d7ced66025ea3617d30f6f823b22401e6d2fde
    BUG: 1348056
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    (cherry picked from commit b5c492dfea2d2e2075aa88d7153fba57b06e739d)
    Reviewed-on: http://review.gluster.org/14765
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj 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=gjITGjUVMt&a=cc_unsubscribe


More information about the Bugs mailing list