Change amount of time by which a node is considered dead

Hello,

I would like to know if there is an option to change the amount of time by which a node is considered dead after crashing/being taken out of the cluster. This would speed up or delay the start of the automatic repair process.

Thank you!

“Nodes are considered dead once they have not responded for a certain amount of time (5 minutes by default). At this point, the automated repair process starts, wherein CockroachDB automatically rebalances replicas from the dead node, using the unaffected replicas as sources.”

Hi @dalv. The server.time_until_store_dead cluster setting lets you control how quickly the cluster considers a node dead and starts the repair process. See this doc for instructions.

Please let me know if you have other questions.

1 Like