]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix replies to dup/already-committed requests
authorSage Weil <sage@newdream.net>
Tue, 3 Aug 2010 18:07:58 +0000 (11:07 -0700)
committerSage Weil <sage@newdream.net>
Tue, 3 Aug 2010 18:07:58 +0000 (11:07 -0700)
commit4ea24d785b64c1ce10ab524c6e3bb03d4be7bf0a
treea2f67ee7b6c99a27a564510c5ff723c2921fb786
parent22a7d42b58231e5e7ae0838c9ca55ea2e9dd9441
osd: fix replies to dup/already-committed requests

We can safely reply if oldv is _older_ than what's on disk.  Otherwise the
request ends up on the list and never gets removed again.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc