diff options
author | Greg Farnum <gfarnum@redhat.com> | 2020-07-02 19:13:56 +0200 |
---|---|---|
committer | Greg Farnum <gfarnum@redhat.com> | 2020-07-20 09:08:50 +0200 |
commit | 67749a869e4ca39e3b86de93c66b835734445c2c (patch) | |
tree | 1afac46a6dff7ecdd0f241d088b480456b2870f3 /src/mon/MonMap.h | |
parent | mon: enforce stretch mode on new pool creations (diff) | |
download | ceph-67749a869e4ca39e3b86de93c66b835734445c2c.tar.xz ceph-67749a869e4ca39e3b86de93c66b835734445c2c.zip |
mon: try to enforce monitor locations in stretch mode; warn on failure
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Diffstat (limited to 'src/mon/MonMap.h')
-rw-r--r-- | src/mon/MonMap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mon/MonMap.h b/src/mon/MonMap.h index 06b25de6af5..e01d00e531b 100644 --- a/src/mon/MonMap.h +++ b/src/mon/MonMap.h @@ -28,6 +28,7 @@ #include "mon/mon_types.h" #include "msg/Message.h" +class health_check_map_t; #ifdef WITH_SEASTAR namespace ceph::common { @@ -481,6 +482,8 @@ public: void dump(ceph::Formatter *f) const; void dump_summary(ceph::Formatter *f) const; + void check_health(health_check_map_t *checks) const; + static void generate_test_instances(std::list<MonMap*>& o); protected: /** |