]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: release op locks on on commit+applied 1454/head
authorSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 05:02:01 +0000 (22:02 -0700)
committerSage Weil <sage@inktank.com>
Fri, 14 Mar 2014 05:02:01 +0000 (22:02 -0700)
commit87c911cede50ffadcbb5cfd553df8d436a9975d1
tree423f18202a59b667932fde2a48d4ef9b3b459ebc
parent4f43e53ced66a5a24f5cbd5ef56b2b5937b73b97
osd/ReplicatedPG: release op locks on on commit+applied

We were releasing the op locks when we applied the update but (potentially)
before we committed it.  This means that another client can read object
state that is not yet durable.

Fixes: #7709
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc