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

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 20 11:41:33 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14764 committed in release-3.8 by Atin
Mukherjee (amukherj at redhat.com) 
------
commit d1a4e534ba9283da9e75033f4a3a309d16176b24
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: 1348055
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    (cherry picked from commit b5c492dfea2d2e2075aa88d7153fba57b06e739d)
    Reviewed-on: http://review.gluster.org/14764
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD 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=jzWnNQBjnY&a=cc_unsubscribe


More information about the Bugs mailing list