martinsumner / kv_index_tictactree

Provide Active-Anti-Entropy features to a virtual node in a KV store
Apache License 2.0
21 stars 7 forks source link

Tune timeouts #83

Closed martinsumner closed 4 years ago

martinsumner commented 4 years ago

There have been instances of SYNC_TIMEOUT being hit when calling rebuild_trees on an AAE controller during ownership handoff.

These leads to worker crashes. The rebuild_trees can wait if in the loading state - so why not treat the timeout the same, and simply retry.

Also if this is don't rebuild - don't even try the currentstatus check.