"mgr/prometheus/x/server_port" will be displayed instead of
"mgr/prometheus/server_port". This matches the output of the non pretty-print
formatted version of the command.
+* CEPHFS: MDS config option name "mds_kill_skip_replaying_inotable" is a bit
+ confusing with "mds_inject_skip_replaying_inotable", therefore renaming it to
+ "mds_kill_after_journal_logs_flushed"
+
>=17.2.1
.. confval:: mds_kill_link_at
.. confval:: mds_kill_rename_at
.. confval:: mds_inject_skip_replaying_inotable
-.. confval:: mds_kill_skip_replaying_inotable
+.. confval:: mds_kill_after_journal_logs_flushed
.. confval:: mds_wipe_sessions
.. confval:: mds_wipe_ino_prealloc
.. confval:: mds_skip_ino
status = self.fs.status()
rank0 = self.fs.get_rank(rank=0, status=status)
- self.fs.mds_asok(['config', 'set', 'mds_kill_skip_replaying_inotable', "true"])
+ self.fs.mds_asok(['config', 'set', 'mds_kill_after_journal_logs_flushed', "true"])
# This will make the MDS crash, since we only have one MDS in the
# cluster and without the "wait=False" it will stuck here forever.
self.mount_a.run_shell(["mkdir", "test_alloc_ino/dir1"], wait=False)
default: false
services:
- mds
-- name: mds_kill_skip_replaying_inotable
+- name: mds_kill_after_journal_logs_flushed
type: bool
level: dev
default: false
services:
- mds
- fmt_desc: Ceph will skip replaying the inotable when replaying the journal, and
- the premary MDS will crash, while the replacing MDS won't.
+ fmt_desc: The primary MDS will crash just after the mknod/openc journal logs
+ are flushed to the pool.
(for testing only).
with_legacy: true
- name: mds_inject_skip_replaying_inotable
default: false
services:
- mds
- fmt_desc: Ceph will skip replaying the inotable when replaying the journal, and
- the premary MDS will crash, while the replacing MDS won't.
+ fmt_desc: MDS will skip replaying the inotable when replaying the journal logs.
(for testing only).
with_legacy: true
# percentage of MDS modify replies to skip sending the client a trace on [0-1]
ceph_assert(r == 0);
// crash current MDS and the replacing MDS will test the journal
- ceph_assert(!g_conf()->mds_kill_skip_replaying_inotable);
+ ceph_assert(!g_conf()->mds_kill_after_journal_logs_flushed);
dn->pop_projected_linkage();
ceph_assert(r == 0);
// crash current MDS and the replacing MDS will test the journal
- ceph_assert(!g_conf()->mds_kill_skip_replaying_inotable);
+ ceph_assert(!g_conf()->mds_kill_after_journal_logs_flushed);
// link the inode
dn->pop_projected_linkage();
mds->balancer->maybe_fragment(dir, false);
// flush the journal as soon as possible
- if (g_conf()->mds_kill_skip_replaying_inotable) {
+ if (g_conf()->mds_kill_after_journal_logs_flushed) {
mdlog->flush();
}
}