]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: give useful errors to user when store is missing
authorJoao Eduardo Luis <joao.luis@inktank.com>
Mon, 25 Feb 2013 17:54:18 +0000 (17:54 +0000)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Tue, 26 Feb 2013 23:47:51 +0000 (23:47 +0000)
commitebf47175c40ee12dda855b0b19517cf988a33353
tree659466086a18ccaa09e40765c57a5c46640347d3
parentcf20ea6e1a51adf725653f4fcde547bd87bf8670
mon: give useful errors to user when store is missing

We used to assert() instead, which didn't shed enough light on the cause
and could confuse the user into believing something *terrible* had
happened.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/ceph_mon.cc
src/mon/Monitor.cc