]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: Check for uneven weights & != 2 buckets stretch mode
authorKamoltat <ksirivad@redhat.com>
Thu, 22 Sep 2022 03:41:16 +0000 (03:41 +0000)
committerKamoltat <ksirivad@redhat.com>
Fri, 14 Jul 2023 13:49:07 +0000 (13:49 +0000)
commit49857400374d803962dc232652e87f3e6540ae3d
tree72fbc66e49773911c35c82024b168bdafb79d922
parentce87f4a9f27d9e6ba85f547bb0826c4ebd5dd5e5
osd/OSDMap: Check for uneven weights & != 2 buckets stretch mode

Added additional health warnings in
``OSDMap::check_health()``.

1. Check for uneven weights of the two dividing
buckets if stretch mode is enabled and spit out
warnings if true.

2. Check for != 2 buckets if stretch mode is enabled
and spit out warnings if true.

Fixes: https://tracker.ceph.com/issues/57570
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 78baf23ea214dce3c1a7cf3f3515706d03f950ed)
src/osd/OSDMap.cc