]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: do not requeue if not primary 541/head
authorSage Weil <sage@inktank.com>
Tue, 27 Aug 2013 22:01:02 +0000 (15:01 -0700)
committerSage Weil <sage@inktank.com>
Fri, 30 Aug 2013 23:57:25 +0000 (16:57 -0700)
commit4f6c6b2d747860b1424e71fec59f781750c99553
tree9f35f35cf3b44423b4858f0a3933e347a3667a5d
parentb0a30a55eba6d646a04591fc038d2b1fce86f936
osd/ReplicatedPG: do not requeue if not primary

This saves us a bit of work, since we will discard the op anyway if
we aren't primary (or even if we become primary again before we get to
it).

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