diff options
author | Avra Sengupta <asengupt@redhat.com> | 2015-05-07 17:50:25 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-05-28 19:25:18 -0700 |
commit | d67eb34b2a5b5e3cb926ff4c86a163148743829c (patch) | |
tree | 247b0e785955efd2fb6ba99deaf214feca06e49b /xlators/protocol | |
parent | b7f05e64f615a12e6487eab64544b8f92a6037ae (diff) |
snapshot/scheduler: Do not enable scheduler if another scheduler is running
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: 1219442
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>
Diffstat (limited to 'xlators/protocol')
0 files changed, 0 insertions, 0 deletions