]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/MonitorDBStore: assert/crash if there is a write error
authorSage Weil <sage@redhat.com>
Wed, 23 Sep 2015 14:58:13 +0000 (10:58 -0400)
committerSage Weil <sage@redhat.com>
Wed, 23 Sep 2015 14:58:13 +0000 (10:58 -0400)
commit2fb7b1f0e33ada7c9a1be3de2f7708eb0760fcef
treeab014d1e66184db193814414508b4daf86741fcd
parent424bcea999c789faf4a936743f32ba7e4a049f57
mon/MonitorDBStore: assert/crash if there is a write error

Do this globally intead of relying on teh zillion mon callers to
check the error code.  There are no cases where we want to
tolerate a commit failure.

Fixes: #13089
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonitorDBStore.h