mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
Merge PR #55994 into main
* refs/pull/55994/head: cephfs_mirror, qa: fix typo in current_syncing_snap status Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
This commit is contained in:
commit
cedca8e939
@ -229,7 +229,7 @@ class TestMirroring(CephFSTestCase):
|
||||
'fs', 'mirror', 'peer', 'status',
|
||||
f'{fs_name}@{fs_id}', peer_uuid)
|
||||
self.assertTrue('syncing' == res[dir_name]['state'])
|
||||
self.assertTrue(res[dir_name]['current_sycning_snap']['name'] == snap_name)
|
||||
self.assertTrue(res[dir_name]['current_syncing_snap']['name'] == snap_name)
|
||||
|
||||
def verify_snapshot(self, dir_name, snap_name):
|
||||
snap_list = self.mount_b.ls(path=f'{dir_name}/.snap')
|
||||
|
@ -1611,7 +1611,7 @@ void PeerReplayer::peer_status(Formatter *f) {
|
||||
f->dump_string("state", "idle");
|
||||
} else {
|
||||
f->dump_string("state", "syncing");
|
||||
f->open_object_section("current_sycning_snap");
|
||||
f->open_object_section("current_syncing_snap");
|
||||
f->dump_unsigned("id", (*sync_stat.current_syncing_snap).first);
|
||||
f->dump_string("name", (*sync_stat.current_syncing_snap).second);
|
||||
f->close_section();
|
||||
|
Loading…
Reference in New Issue
Block a user