|author||Kotresh H R <email@example.com>||2013-12-04 14:14:20 +0000|
|committer||Anand Avati <firstname.lastname@example.org>||2014-02-12 17:38:13 -0800|
geo-rep: Fix gsyncd restart issue.
New function 'glusterd_gsync_op_already_set' is written which compares the geo-rep configuration value in gsync.conf with the one sent from cli. The generic function is written to compare op_value for any op_name sent from cli as this issue can happen with any configuration setting other than use-tarssh also. This routine is used to avoid restart of gsyncd if the configuration value is set to same as in gsyncd.conf. Also added error checking when glusterd_gsync_configure fails. Earlier, eventhough 'glusterd_gsync_configure' fails, error was not getting catched and success message was shown. Change-Id: If4dcd0ffc09e6e67c79ba86238f03eff1b7c7645 BUG: 1060797 Signed-off-by: Kotresh H R <email@example.com> Reviewed-on: http://review.gluster.org/6897 Reviewed-by: Avra Sengupta <firstname.lastname@example.org> Reviewed-by: Venky Shankar <email@example.com> Tested-by: Gluster Build System <firstname.lastname@example.org> Reviewed-by: Anand Avati <email@example.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions