]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
KeyValueStore: Fix incorrect rm_keys behaviors
authorHaomai Wang <haomaiwang@gmail.com>
Fri, 31 Jul 2015 08:05:41 +0000 (16:05 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 31 Jul 2015 09:33:25 +0000 (17:33 +0800)
commit57606555546272f6ec3ba1bc5fe8b7a664608b40
tree8ce8725946ef59074a134f739a24e7b319e6156f
parentf0084407651c5edf143b33e8a5be3ec65d1ba365
KeyValueStore: Fix incorrect rm_keys behaviors

GenericObjectMap will copyup parents keys when rm keys, but if
caller(KeyValueStore) already buffer "set keys", it shouldn't
copyup reset keys.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/os/GenericObjectMap.cc
src/os/GenericObjectMap.h
src/os/KeyValueStore.cc