]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
verify-mds-journal: periodically verify mds replay; stop if error
authorSage Weil <sage@newdream.net>
Wed, 17 Dec 2008 21:37:34 +0000 (13:37 -0800)
committerSage Weil <sage@newdream.net>
Wed, 17 Dec 2008 21:37:34 +0000 (13:37 -0800)
src/verify-mds-journal.sh [new file with mode: 0755]

diff --git a/src/verify-mds-journal.sh b/src/verify-mds-journal.sh
new file mode 100755 (executable)
index 0000000..61d026a
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+while [ 1 ]
+do
+  ./cmds -f --debug_mds 20 --debug_ms 1 --standby_replay_for 0 || exit 1
+  echo replay ok, sleeping
+  sleep 30
+done
\ No newline at end of file