]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/osd_types: do not track ERROR change for missing set
authorSage Weil <sage@redhat.com>
Tue, 13 Jun 2017 19:41:28 +0000 (15:41 -0400)
committerSage Weil <sage@redhat.com>
Tue, 13 Jun 2017 19:47:39 +0000 (15:47 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc

index c186548a6c69ba334b6e8fd222c7c3752543320f..7771d51c0aaab1b82fc516eb58aa6509f6b60020 100644 (file)
@@ -1726,7 +1726,8 @@ void PG::activate(ObjectStore::Transaction& t,
         for (list<pg_log_entry_t>::iterator p = m->log.log.begin();
              p != m->log.log.end();
              ++p)
-         if (p->soid <= pi.last_backfill)
+         if (p->soid <= pi.last_backfill &&
+             !p->is_error())
            pm.add_next_event(*p);
       }