Liking cljdoc? Tell your friends :D

jepsen.db

Allows Jepsen to set up and tear down databases.

Allows Jepsen to set up and tear down databases.
raw docstring

cycle!clj

(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.
raw docstring

cycle-triesclj

How many tries do we get to set up a database?

How many tries do we get to set up a database?
raw docstring

DBcljprotocol

setup!clj

(setup! db test node)

Set up the database on this particular node.

Set up the database on this particular node.

teardown!clj

(teardown! db test node)

Tear down the database on this particular node.

Tear down the database on this particular node.

LogFilescljprotocol

log-filesclj

(log-files db test node)

Returns a sequence of log files for this node.

Returns a sequence of log files for this node.

noopclj

Does nothing.

Does nothing.
raw docstring

Primarycljprotocol

setup-primary!clj

(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