]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: always init BufferedRecoveryMessages w/ octopus
authorKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 07:02:59 +0000 (15:02 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 07:03:00 +0000 (15:03 +0800)
we don't need to be compatible with pre-octopus releases

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/shard_services.cc

index f727c66ca24a6b34b43a026200958e4c1c2a1656..c029674f1de20ab1388ee3411abb9f9493a27012 100644 (file)
@@ -95,7 +95,8 @@ seastar::future<> ShardServices::dispatch_context(
 {
   ceph_assert(col || ctx.transaction.empty());
   return seastar::when_all_succeed(
-    dispatch_context_messages(BufferedRecoveryMessages(ctx)),
+    dispatch_context_messages(
+      BufferedRecoveryMessages{ceph_release_t::octopus, ctx}),
     col ? dispatch_context_transaction(col, ctx) : seastar::now());
 }