]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Objecter: resend linger_ops on any change
authorSamuel Just <samuel.just@dreamhost.com>
Wed, 21 Mar 2012 00:04:59 +0000 (17:04 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Wed, 21 Mar 2012 23:41:16 +0000 (16:41 -0700)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
Reviewed-by: Josh Durgin <josh.durgin@dreamhost.com>
src/osdc/Objecter.cc

index dce0bf95b0936854e45d4c60dd700ddd1dc0739b..999caafd4d5a6ee31d7fc204737446029e662ba9 100644 (file)
@@ -1043,7 +1043,7 @@ bool Objecter::recalc_linger_op_target(LingerOp *linger_op)
   }
   osdmap->pg_to_acting_osds(pgid, acting);
 
-  if (pgid != linger_op->pgid || is_pg_changed(linger_op->acting, acting)) {
+  if (pgid != linger_op->pgid || is_pg_changed(linger_op->acting, acting, true)) {
     linger_op->pgid = pgid;
     linger_op->acting = acting;
     ldout(cct, 10) << "recalc_linger_op_target tid " << linger_op->linger_id