mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 18:10:39 +00:00
The test starts a 3-node cluster and immediately creates a big file on one of the nodes, to trigger the out of space prevention to start rejecting writes on this node. Then a write is executed and checked it did not reach the node with critical disk utilization but reached the remaining nodes (it should, RF=3 is set) However, when not specified, a default LOCAL_ONE consistency level is used. This means that only one node is required to acknowledge the write. After the write, the test checks if the write + did NOT reach the node with critical disk utilization (works) + did reach the remaning nodes This can cause the test to fail sporadically as the write might not yet be on the last node. Use CL=QUORUM instead. Fixes: https://github.com/scylladb/scylladb/issues/26004 Closes scylladb/scylladb#26030
Extension of the cluster tests, where all tests require externally mounted volumes to be used by scylla cluster nodes. The volumes are passed with --workdir.
The volumes can be of any size. A help generator space_limited_servers is provided
to easily create a cluster of any given number of nodes, where each node operates in
a separate volume.