mix ferricstore.recovery_kill9 (ferricstore v0.4.3)

Copy Markdown View Source

Runs a manual kill-9 recovery benchmark in a separate BEAM OS process.

The parent task starts a child mix ferricstore.recovery_kill9 process in writer mode, waits until it has written a dataset, sends SIGKILL to that OS process, then starts a second child process in verifier mode against the same data directory and measures startup/readiness.

This is intentionally a manual benchmark, not part of the normal test suite:

mix ferricstore.recovery_kill9 --writes 2000

Options:

  • --writes N - number of keys to write, default 2000
  • --batch-size N - keys per quorum batch during setup, default 1000
  • --data-dir PATH - data directory, default is a temp directory
  • --timeout-ms N - child marker timeout, default 120000
  • --release-cursor-interval N - interval used by the child, default 200000
  • --prefix PREFIX - key prefix, default unique kill9 prefix
  • --keep-data - keep the data directory after the run