]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/mirroring: make snapshot mirror metrics cache optional
authorKotresh HR <khiremat@redhat.com>
Sun, 21 Jun 2026 17:52:29 +0000 (23:22 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 8 Jul 2026 07:15:17 +0000 (12:45 +0530)
commitb069c1dcc29560bbfcba048e69d847ec3faa39e5
tree74d78c57dbb4f3ec6cecc53f42a0c6c44efcccdf
parentfbc1fcb6d4cd65bbdf57a6bc0b133352c2f6907e
mgr/mirroring: make snapshot mirror metrics cache optional

Add snapshot_mirror_metrics_cache_enabled (default true). When disabled,
metrics_status reads omap directly and skips complete and partial caches.
When enabled, behavior is unchanged.

Fixes: https://tracker.ceph.com/issues/76686
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 01dd9506f2c62a75841184ac9aa75cf72bf57b5b)
src/pybind/mgr/mirroring/fs/snapshot_mirror.py
src/pybind/mgr/mirroring/module.py