]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: refactor check_health()
authorSage Weil <sage@inktank.com>
Mon, 16 Jun 2014 23:58:14 +0000 (16:58 -0700)
committerSage Weil <sage@inktank.com>
Tue, 1 Jul 2014 23:13:08 +0000 (16:13 -0700)
commite96637c2e33ec092f28af0ce96bfe2e4d7748ff8
tree7f1f6cfef58656a1c3060f9ef2e52e33b74397c1
parent28584200df36dda5d434d4d7f58585933905de30
mon: refactor check_health()

Refactor the get_health() methods to always take both a summary and detail.
Eliminate the return value and pull that directly from the summary, as we
already do with the PaxosServices.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 82e47db8073b622183a5e33f6e0b999a3a144804)
src/mon/ConfigKeyService.h
src/mon/DataHealthService.cc
src/mon/DataHealthService.h
src/mon/HealthMonitor.cc
src/mon/HealthMonitor.h
src/mon/HealthService.h
src/mon/Monitor.cc
src/mon/QuorumService.h