diff options
author | Kefu Chai <kchai@redhat.com> | 2019-10-10 09:02:59 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2019-10-10 09:03:00 +0200 |
commit | bea807ff32a7cf3f68e6cdb9b7687f5078323263 (patch) | |
tree | 997877e5aaf51b9053ae7b5da2f9b9af514c43f9 /src/crimson | |
parent | crimson/osd: use in-class initialization to init member variables (diff) | |
download | ceph-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.cc | 3 |
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()); } |