W dniu 17.12.2013 14:57, Nikita Staroverov pisze:
677
678 # avoid too tight pacemaker driven "recovery" loop,
679 # if promotion keeps failing for some reason
680 if [[ $rc != 0 ]] && (( $SECONDS < 15 )) ; then
681 delay=$(( 15 - SECONDS ))
682 ocf_log warn "promotion failed; sleep $delay # to prevent tight
recovery loop"
683 sleep $delay
684 fi
685 return $rc

Hello,

I have this part above missing. So there was no patch applied. I will do it manually by adding this section. Will that be enough? I mean adding:

        # avoid too tight pacemaker driven "recovery" loop,
        # if promotion keeps failing for some reason
        if [[ $rc != 0 ]] && (( $SECONDS < 15 )) ; then
                delay=$(( 15 - SECONDS ))
ocf_log warn "promotion failed; sleep $delay # to prevent tight
                recovery loop"
                sleep $delay
        fi

I am asking because my lines number are different. Patch will start at line 614 not 678.

--
Michał Margula, [email protected], http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]

_______________________________________________
Pacemaker mailing list: [email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to