]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Fix ceph versions command 52161/head
authorPrashant D <pdhange@redhat.com>
Thu, 25 May 2023 22:09:02 +0000 (18:09 -0400)
committerPrashant D <pdhange@redhat.com>
Thu, 22 Jun 2023 19:17:53 +0000 (15:17 -0400)
commit224cc235ede66f0e2a9b686d440449acd8aace9d
tree7e51d35e0f0916ac16f501689b47ec8076494525
parentba83fd867af5d22a974c0ff04dd2f997f45c17bd
mon: Fix ceph versions command

The commit-id d3cca1d has introduced a bug where mgr/osd/mds
version information goes missing during the cluster upgrade.
Collect version information before checking the emptiness
of the map.

Fixes: https://tracker.ceph.com/issues/61453
Signed-off-by: Prashant D <pdhange@redhat.com>
(cherry picked from commit 3fbebe315f25a4d1ce8cb460710ba6da23dc40f4)
src/mon/Monitor.cc