I have a crdb cluster and one of the node is short on disk.
When this node is in the cluster, crdb has a tendendy of using all the available disk space up until there is no space disk left and then the node becomes dead.
I suppose this is because by default store size is 100% according to https://www.cockroachlabs.com/docs/stable/start-a-node.html
If I set size = 90%, does that mean
- that cockroach will stop adding new replicas to this node when there is less than 10% disk space left
- or that cockroach will consider that 90% of the total disk space should be available for it and not check on the disk space left
I am trying to see how I can set a sort “dynamic” size that would take into account how the disk is used by other applications.
I am ok if cockroach uses all the available disk space up until the available disk space left is for example 1GiB
Is there a way to do that ?