]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
kv/MemDB: allow _load() to passed out result to caller 10471/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 28 Jul 2016 06:59:09 +0000 (14:59 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 28 Jul 2016 08:30:03 +0000 (16:30 +0800)
commit3839f730a68757e3db7609c24804a6054ac28c39
tree719d506443574c699a9fb80447567010ccf6b45e
parentb3a0d6dd288510364a96c4fb3636cbc9d35a10b6
kv/MemDB: allow _load() to passed out result to caller

The _load() process can fail. By detecting there error
cases earlier, we can avoid other weird failure cases
later.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/kv/MemDB.cc
src/kv/MemDB.h