------------------------------------------------------------
revno: 729
revision-id:[EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge.stable
timestamp: Mon 2008-01-07 14:05:30 +1100
message:
  don't retstart statd when we don't need to
modified:
  config/events.d/60.nfs         nfs-20070601141008-hy3h4qgbk1jd2jci-1
=== modified file 'config/events.d/60.nfs'
--- a/config/events.d/60.nfs    2007-11-16 02:37:27 +0000
+++ b/config/events.d/60.nfs    2008-01-07 03:05:30 +0000
@@ -55,6 +55,9 @@
        ;;
 
      recovered)
+       # if no IPs have changed then don't need to restart statd 
+       [ -f $CTDB_BASE/state/statd/restart ] || exit 0;
+
        # always restart the lockmanager so that we start with a clusterwide
        # graceperiod when ip addresses has changed
        [ -x $CTDB_BASE/statd-callout ] && {

Reply via email to