[Bugs] [Bug 1365822] [RFE] cli command to get max supported cluster.op-version
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 9 05:16:16 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1365822
--- Comment #6 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16283 committed in master by Atin Mukherjee
(amukherj at redhat.com)
------
commit 76fbeafbf56a61768c81f622b354e3c95a00e986
Author: Samikshan Bairagya <samikshan at gmail.com>
Date: Mon Dec 19 15:07:14 2016 +0530
glusterd: Get maximum supported op-version in a cluster
gluster volume get <VOLNAME> cluster.opversion gives us the current
op-version on which the cluster is operating. There is no command
that lets the user know the maximum supported op-version that the
cluster can run on.
This patch adds a new global option cluster.max-op-version, that
can be used to retrieve the maximum supported op-version in a
cluster.
Usage:
# gluster volume get all cluster.max-op-version
Example output:
Option Value
------ -----
cluster.max-op-version 30900
NOTE: The only way to test this feature for now is to set the
GD_OP_VERSION_MAX macro to different values (30800 for 3.8,30900
for 3.9, and so on) and rebuild glusterd. Since the regression test
framework currently doesn't have support to simulate these tests,
there are no accompanying regression tests for this feature. It
should be possible to add tests once glusto comes in and makes it
easier to run a heterogeneous cluster.
Change-Id: I547480ee5e7912664784643e436feb198b6d16d0
BUG: 1365822
Signed-off-by: Samikshan Bairagya <samikshan at gmail.com>
Reviewed-on: http://review.gluster.org/16283
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=Vfx2zQQPcA&a=cc_unsubscribe
More information about the Bugs
mailing list