]> 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>
Wed, 10 Jan 2024 09:19:38 +0000 (09:19 +0000)
commitf40269ed40f0519f4be359a6d9fee2e41ad761c6
treef068e4054ba11d64127ece3841c89f905ac03628
parent1b6d64aec03f79dbb7a4dc4cf42b1e4144539e6c
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