LGTM
On Fri, May 30, 2014 at 4:17 PM, 'Klaus Aehlig' via ganeti-devel < [email protected]> wrote: > When voting for the master node, it might be that too many > nodes are temporarily not reachable, e.g., after a mass > reboot. In this case, we wait a given interval and retry. > > Signed-off-by: Klaus Aehlig <[email protected]> > --- > src/Ganeti/Constants.hs | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/src/Ganeti/Constants.hs b/src/Ganeti/Constants.hs > index bb43e33..91759b8 100644 > --- a/src/Ganeti/Constants.hs > +++ b/src/Ganeti/Constants.hs > @@ -4736,6 +4736,17 @@ luxiLivelockPrefix = "luxi-daemon" > luxiCancelJobTimeout :: Int > luxiCancelJobTimeout = (luxiDefRwto - 1) `div` 4 > > +-- * Master voting constants > + > +-- | Number of retries to carry out if nodes do not answer > +masterVotingRetries :: Int > +masterVotingRetries = 6 > + > +-- | Retry interval (in seconds) in master voting, if not enough answers > +-- could be gathered. > +masterVotingRetryIntervall :: Int > +masterVotingRetryIntervall = 10 > + > -- * Query language constants > > -- ** Logic operators with one or more operands, each of which is a > -- > 1.9.1.423.g4596e3a > >
