Allows Jepsen to set up and tear down databases.
Allows Jepsen to set up and tear down databases.
(cycle! test)
Takes a test, and tears down, then sets up, the database on all nodes concurrently.
If any call to setup! or setup-primary! throws :type ::setup-failed, we tear
down and retry the whole process up to cycle-tries
times.
Takes a test, and tears down, then sets up, the database on all nodes concurrently. If any call to setup! or setup-primary! throws :type ::setup-failed, we tear down and retry the whole process up to `cycle-tries` times.
How many tries do we get to set up a database?
How many tries do we get to set up a database?
(setup! db test node)
Set up the database on this particular node.
Set up the database on this particular node.
(teardown! db test node)
Tear down the database on this particular node.
Tear down the database on this particular node.
(log-files db test node)
Returns a sequence of log files for this node.
Returns a sequence of log files for this node.
(setup-primary! db test node)
Performs one-time setup on a single node.
Performs one-time setup on a single node.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close