]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Fix subvolume discover during upgrade
authorKotresh HR <khiremat@redhat.com>
Fri, 4 Feb 2022 09:25:03 +0000 (14:55 +0530)
committerKotresh HR <khiremat@redhat.com>
Mon, 1 Aug 2022 04:07:15 +0000 (09:37 +0530)
commit0cd1d8aa5ac935f738365ba38b397cae0fc9179c
tree9c034552f945b0b6d8911acfd353e3111d391e62
parent57544da114dbbe1c44f27b2ea18e3233e4e917e0
mgr/volumes: Fix subvolume discover during upgrade

Fixes the subvolume discover to use the correct
metadata file after an upgrade from legacy subvolume
to v1. The fix makes sure, it doesn't use the
handcrafted metadata file placed in the subvolume
root of legacy subvolume.

Co-authored-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Co-authored-by: Dan van der Ster <daniel.vanderster@cern.ch>
Co-authored-by: Ramana Raja <rraja@redhat.com>
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 7eba9cab6cfb9a13a84062177d7a0fa228311e13)
src/pybind/mgr/volumes/fs/operations/versions/metadata_manager.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py