}
else
ttid.counter = ubik_dbase->tidCounter+1;
+#if defined(UBIK_PAUSE)
+ ubik_dbase->flags |= DBVOTING;
+#endif /* UBIK_PAUSE */
/* now analyze return codes, counting up our votes */
yesVotes = 0; /* count how many to ensure we have quorum */
if (amIMagic) yesVotes++; /* extra epsilon */
if (i < oldestYesVote) oldestYesVote = i;
}
+#if defined(UBIK_PAUSE)
+ ubik_dbase->flags &= ~DBVOTING;
+#endif /* UBIK_PAUSE */
/* now decide if we have enough votes to become sync site.
Note that we can still get enough votes even if we didn't for ourself. */