]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedBackend: always set rollforward to head in submit
authorSamuel Just <sjust@redhat.com>
Sat, 29 Oct 2016 22:00:12 +0000 (15:00 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 17 Nov 2016 18:40:18 +0000 (10:40 -0800)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedBackend.cc

index 314683bfef997c082bd333e8f0026c6409d65425..a34e1401dcd7afd634db6a6d9b5d18f4cad1ce8c 100644 (file)
@@ -570,7 +570,7 @@ void ReplicatedBackend::submit_transaction(
     tid,
     reqid,
     trim_to,
-    roll_forward_to,
+    at_version,
     added.size() ? *(added.begin()) : hobject_t(),
     removed.size() ? *(removed.begin()) : hobject_t(),
     log_entries,
@@ -585,7 +585,7 @@ void ReplicatedBackend::submit_transaction(
     log_entries,
     hset_history,
     trim_to,
-    roll_forward_to,
+    at_version,
     true,
     op_t);