]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ReplicatedBackend: always rollforward on repop to version
authorSamuel Just <sjust@redhat.com>
Fri, 13 Dec 2019 20:11:55 +0000 (12:11 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 20 Dec 2019 01:35:36 +0000 (17:35 -0800)
The primary always sets this field to be at_version, and we're
going to reuse this field to mean min_last_complete_ondisk.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedBackend.cc

index 28ea1ff70874f17e19bf5f4098abbdc31796af6f..8828b38e46b36e72fbf6f4ff3a62645f4be49a36 100644 (file)
@@ -1103,7 +1103,7 @@ void ReplicatedBackend::do_repop(OpRequestRef op)
     log,
     m->updated_hit_set_history,
     m->pg_trim_to,
-    m->pg_roll_forward_to,
+    m->version, /* Replicated PGs don't have rollback info */
     update_snaps,
     rm->localt,
     async);