int wait_for_osdmap();
public:
- boost::asio::io_context::strand finish_strand{poolctx.get_io_context()};
+ boost::asio::strand<boost::asio::io_context::executor_type>
+ finish_strand{poolctx.get_executor()};
explicit RadosClient(CephContext *cct);
~RadosClient() override;
#include <vector>
#include <boost/asio/io_context.hpp>
-#include <boost/asio/io_context_strand.hpp>
#include <boost/asio/steady_timer.hpp>
+#include <boost/asio/strand.hpp>
#include "msg/Messenger.h"
mutable ceph::mutex monc_lock = ceph::make_mutex("MonClient::monc_lock");
SafeTimer timer;
boost::asio::io_context& service;
- boost::asio::io_context::strand finish_strand{service};
+ boost::asio::strand<boost::asio::io_context::executor_type>
+ finish_strand{service.get_executor()};
bool initialized;
bool stopping = false;
boost::asio::io_context& service;
// The guaranteed sequenced, one-at-a-time execution and apparently
// people sometimes depend on this.
- boost::asio::io_context::strand finish_strand{service};
+ boost::asio::strand<boost::asio::io_context::executor_type>
+ finish_strand{service.get_executor()};
ZTracer::Endpoint trace_endpoint{"0.0.0.0", 0, "Objecter"};
private:
std::unique_ptr<OSDMap> osdmap{std::make_unique<OSDMap>()};