summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2015-05-07 17:50:25 +0530
committerKrishnan Parthasarathi <kparthas@redhat.com>2015-06-01 04:13:31 -0700
commitfd5fc2209b9206f36fe04c528cbd9f43689b765b (patch)
tree635136f742582ee4a1eebc1cf1c568573e021493 /api
parentc762289c2c6ace36213feae80e9ccfe915aa87fd (diff)
snapshot/scheduler: Do not enable scheduler if another scheduler is running
Backport of http://review.gluster.org/#/c/10641/ Check if another snapshot scheduler is running before enabling the scheduler Also introducing a hidden option, disable_force "snapshot_scheduler.py disable_force" will disable the cli snapshot scheduler from any node, even though the node has not been initialised for the scheduler, as long as the shared storage is mounted This option is hidden, because we don't want to encourage users to use all commands from nodes that are not initialised. Change-Id: I7ad941fbbab834225a36e740c61f8e740813e7c8 BUG: 1226120 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/10641 Reviewed-by: Rajesh Joseph <rjoseph@redhat.com> Tested-by: NetBSD Build System Reviewed-by: Kaushal M <kaushal@redhat.com> (cherry picked from commit d67eb34b2a5b5e3cb926ff4c86a163148743829c) Reviewed-on: http://review.gluster.org/10993 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Aravinda VK <avishwan@redhat.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions