summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorKotresh H R <khiremat@redhat.com>2013-12-04 14:14:20 +0000
committerAnand Avati <avati@redhat.com>2014-02-12 17:38:13 -0800
commit547ee245dac4f2689a0f3f8f66635e0195489602 (patch)
tree71ed14193c1bc9596fe86258b152c9a1050df472 /rpc
parenta9181877e3013dcaca5b59ef7764246163c10585 (diff)
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 <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/6897 Reviewed-by: Avra Sengupta <asengupt@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions