]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: check is_dup earlier; do not set osdop version if it's a noop
authorSage Weil <sage@newdream.net>
Fri, 9 Oct 2009 17:53:37 +0000 (10:53 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 Oct 2009 17:53:37 +0000 (10:53 -0700)
commita5a7c559fbda65cb703c6eb7fc617709f6d4b733
tree18a6659af470866134d8af466b9a09635a4f3693
parent4eebe5473f760b1e7c00f24a9ad87f7fc1bb3f78
osd: check is_dup earlier; do not set osdop version if it's a noop

Otherwise, we end up with a bogus version that's not logged and in the
future, which confuses us later (we think it's a replay or something).  If
it's a noop, that means the version is either already set, or doesn't need
to be.
src/osd/ReplicatedPG.cc