diff options
author | Kotresh HR <khiremat@redhat.com> | 2015-06-17 17:05:22 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-06-18 23:04:04 -0700 |
commit | a0e9c7d52dc43d30e1a2bd5567412a61b3c078fa (patch) | |
tree | ae8cad27b331d95878d93708c4e3c55fb8e2d9ea /extras | |
parent | dda7608736857ac5fb539f2c04a1499999c984ed (diff) |
tools/glusterfind: Fail glusterfind creation if volume is offline
Following two fixes are done.
1. Fail glusterfind session creation if volume is not online
even before session directories are created. This avoids
'glusterfind list' to pick the session directories and show
status as 'Session Corrupted'.
2. Check of '!Started' instead of wether the volume is 'Stopped'.
It covers all the cases.
Change-Id: I3e9cb384d978ada28f508c07e37d6ceb2272a731
BUG: 1232729
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/11278
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions