]> git-server-git.apps.pok.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)
committerLoic Dachary <ldachary@redhat.com>
Fri, 2 Oct 2015 10:49:04 +0000 (12:49 +0200)
commit20a4c0c4831a9dcd49d8ad34b99369effbda9ab8
tree06a2ac6826ae65980aec09396fc4436434ab84aa
parente72bdc3bf1541e445f74def70b5aa185f1757468
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>
(cherry picked from commit 2fb7b1f0e33ada7c9a1be3de2f7708eb0760fcef)
src/mon/MonitorDBStore.h