]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Fix deadlock caused by hold collection obj
authorHaomai Wang <haomaiwang@gmail.com>
Tue, 18 Feb 2014 07:04:25 +0000 (15:04 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Sat, 22 Feb 2014 13:04:59 +0000 (21:04 +0800)
commit5eb75927edf5951c6845a4101095e261129e1606
tree1874f45217ba382f864d962b43458f081716b609
parentf214c3eca467eb72244e035114ec0de872f99c1b
Fix deadlock caused by hold collection obj

Collection is a special object in KeyValueStore, if exists collection modify,
this object will be hold. When exists check collection, it will be dead lock to
try to access this object.

Now lookup transaction cache first to ensure no collection object exists
already.

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