Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
{
trigger_state(state_t::CONNECTING, write_state_t::delay, true);
seastar::with_gate(pending_dispatch, [this] {
+ global_seq = messenger.get_global_seq();
return Socket::connect(conn.peer_addr)
.then([this](SocketFRef sock) {
socket = std::move(sock);
void trigger_state(state_t state, write_state_t write_state, bool reentrant);
- // TODO: the rest of protocol data structures and variables.
+ uint64_t global_seq = 0;
private:
seastar::future<> fault();