When the monitor is killed , and if we stop the geo-rep from command line, we get a msg: warning: geo-replication session isnot running geo-replication command failed We should not should show failed command should just show the warning & and say returned succesfully
The not-fail part was working properly earlier, regression brought in by commit c034f263. The show-warning part is TBD as of the creation of this bz entry.
PATCH: http://patches.gluster.com/patch/7092 in master (syncdaemon: add --normalize-url option)
PATCH: http://patches.gluster.com/patch/7184 in master (mgmt/glusterd: Display a warning message to CLI in case of a corrupt geo-rep session)
testing with 3.2.3 - It says "geo-replication command failed" killed monitor & trying to stop - # gluster volume geo-replication gsync root.1.108:/slave44 status MASTER SLAVE STATUS -------------------------------------------------------------------------------- gsync root.1.108:/slave44 corrupt # gluster volume geo-replication gsync root.1.108:/slave44 stop warning: geo-replication session isnot running geo-replication command failed
PATCH: http://patches.gluster.com/patch/7184 should be back-ported to release-3.2 branch.
Kaushik, then please do the backport (when that's being committed, let's close the bug).
Although this bug was in release-3.2. I still tested it on 3.3.0qa45. It behaves properly.