This reverts commit
ed65a7a53aedfd56343fdaefdeb59c22256f01b7.
See: https://github.com/ceph/ceph/pull/25956
Seems we don't want [
39e8de2](https://github.com/ceph/ceph/commit/
39e8de2d72e2541323f8ed9d8b68075fcbd02701)
to be backported.
It turns out the old async-connection implementation will
automatically bump the global_seq each time it switches to
the STATE_CONNECTING state and restarts the connecting process.
The same applies to mimic.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
} else {
ldout(async_msgr->cct, 0) << __func__ << " initiating reconnect" << dendl;
connect_seq++;
- global_seq = async_msgr->get_global_seq();
state = STATE_CONNECTING;
}
backoff = utime_t();
backoff.set_from_double(async_msgr->cct->_conf->ms_max_backoff);
}
- global_seq = async_msgr->get_global_seq();
state = STATE_CONNECTING;
ldout(async_msgr->cct, 10) << __func__ << " waiting " << backoff << dendl;
// woke up again;