]> 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)
committerNathan Cutler <ncutler@suse.com>
Sun, 27 Sep 2015 20:43:37 +0000 (22:43 +0200)
commitd2bfa19077422eea37205fee9ed6fd5f2692f222
treec6c5b1c32fd01fb8c599881ea5bfea0fa883efa5
parentecabc6796f19c03947bb5b14da4e1b761ff8847f
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