summaryrefslogtreecommitdiffstats
path: root/src/crimson
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2019-10-10 09:02:59 +0200
committerKefu Chai <kchai@redhat.com>2019-10-10 09:03:00 +0200
commitbea807ff32a7cf3f68e6cdb9b7687f5078323263 (patch)
tree997877e5aaf51b9053ae7b5da2f9b9af514c43f9 /src/crimson
parentcrimson/osd: use in-class initialization to init member variables (diff)
downloadceph-bea807ff32a7cf3f68e6cdb9b7687f5078323263.tar.xz
ceph-bea807ff32a7cf3f68e6cdb9b7687f5078323263.zip
crimson/osd: always init BufferedRecoveryMessages w/ octopus
we don't need to be compatible with pre-octopus releases Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/crimson')
-rw-r--r--src/crimson/osd/shard_services.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crimson/osd/shard_services.cc b/src/crimson/osd/shard_services.cc
index f727c66ca24..c029674f1de 100644
--- a/src/crimson/osd/shard_services.cc
+++ b/src/crimson/osd/shard_services.cc
@@ -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());
}