[Bugs] [Bug 1449921] New: afr: include quorum type and count when dumping afr priv

bugzilla at redhat.com bugzilla at redhat.com
Thu May 11 07:26:19 UTC 2017


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

            Bug ID: 1449921
           Summary: afr: include quorum type and count when dumping afr
                    priv
           Product: GlusterFS
           Version: 3.11
         Component: replicate
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: ravishankar at redhat.com
                CC: bugs at gluster.org
        Depends On: 1448804



+++ This bug was initially created as a clone of Bug #1448804 +++

Dump the client quorum type ('auto' or 'fixed'). If it is 'fixed', also dump
    the quorum-count. This information will be available in the client
    statedump and in
    /<fuse_mount>/.meta/graphs/active/testvol-replicate-X/private.


This is needed to figure out the default client quorum type in a volume until
https://review.gluster.org/#/c/11872/ gets reworked, as `gluster v get volname
cluster.quorum-type` does not always give correct results if the default values
have not been changed in a new volume.

--- Additional comment from Worker Ant on 2017-05-08 04:29:21 EDT ---

REVIEW: https://review.gluster.org/17196 (afr: include quorum type and count
when dumping afr priv) posted (#2) for review on master by Ravishankar N
(ravishankar at redhat.com)

--- Additional comment from Worker Ant on 2017-05-08 09:10:57 EDT ---

COMMIT: https://review.gluster.org/17196 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 335555d256d444f4952ce239168f72b393370f01
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Fri May 5 22:19:36 2017 +0530

    afr: include quorum type and count when dumping afr priv

    Dump the client quorum type ('auto' or 'fixed'). If it is 'fixed', also
dump
    the quorum-count. This information will be available in the client
    statedump and in
    /<fuse_mount>/.meta/graphs/active/testvol-replicate-X/private.

    Change-Id: Idbd6e2acbd622d4e6cfabf511e649a6da0e42384
    BUG: 1448804
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: https://review.gluster.org/17196
    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: Pranith Kumar Karampuri <pkarampu at redhat.com>

--- Additional comment from Ravishankar N on 2017-05-09 04:36:11 EDT ---

There is a bug in the previous commit, hence sending another patch.

--- Additional comment from Worker Ant on 2017-05-09 04:37:13 EDT ---

REVIEW: https://review.gluster.org/17215 (afr: fixes to quorum-type in
afr_priv_dump()) posted (#1) for review on master by Ravishankar N
(ravishankar at redhat.com)

--- Additional comment from Worker Ant on 2017-05-09 05:52:24 EDT ---

REVIEW: https://review.gluster.org/17215 (afr: fixes to quorum-type in
afr_priv_dump()) posted (#2) for review on master by Ravishankar N
(ravishankar at redhat.com)

--- Additional comment from Worker Ant on 2017-05-10 05:45:08 EDT ---

COMMIT: https://review.gluster.org/17215 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 57bfff95c87396207e1c7de64f2db1f0730ad84d
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Tue May 9 14:02:41 2017 +0530

    afr: fixes to quorum-type in afr_priv_dump()

    Include the 'none' option as well in the output. This fixes the bug in
    commit 335555d256d444f4952ce239168f72b393370f01.
    Also added a test-case.

    This is a
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>

    Change-Id: I479a14ae69ecae5a03e85e73ed50c19b483df603
    BUG: 1448804
    Reviewed-on: https://review.gluster.org/17215
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Tested-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    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>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1448804
[Bug 1448804] afr: include quorum type and count when dumping afr priv
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list