retrun confirmDownRetries to 10, tourney mac compatible

At some point the cluster code was modified to do 120 tries to confirm
if a node was down which is a bit excessive for production. My
understanding is that this was done to help trigger or fix a problem
during testing which is hopefully no longer relevant.

Also changed the tournament script to use what I think are more
standard bash-isms that work on mac. Please confirm this still works
on Linux as well.
This commit is contained in:
Matt Jaffee 2020-09-29 15:52:56 -05:00
parent df89ebf394
commit c2a93cc886
No known key found for this signature in database
GPG key ID: 08A3DFFF987B11BF
2 changed files with 3 additions and 2 deletions

View file

@ -62,7 +62,7 @@ const (
resizeJobActionAdd = "ADD"
resizeJobActionRemove = "REMOVE"
defaultConfirmDownRetries = 120
defaultConfirmDownRetries = 10
defaultConfirmDownSleep = 1 * time.Second
)

View file

@ -8,5 +8,6 @@
for i in rbf lmdb roaring rbf_lmdb rbf_roaring lmdb_rbf lmdb_roaring roaring_rbf roaring_lmdb ; do
echo "$(date) starting ${i}, output to tourna.log.${i}"
echo "***=== ${i} ====================*** $(date)" &> tourna.log.${i}
PILOSA_TXSRC=${i} make testv-race &>> tourna.log.${i}
PILOSA_TXSRC=${i} make testv-race 2>&1 > tourna.log.${i}
done