mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
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:
parent
df89ebf394
commit
c2a93cc886
2 changed files with 3 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ const (
|
|||
resizeJobActionAdd = "ADD"
|
||||
resizeJobActionRemove = "REMOVE"
|
||||
|
||||
defaultConfirmDownRetries = 120
|
||||
defaultConfirmDownRetries = 10
|
||||
defaultConfirmDownSleep = 1 * time.Second
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue