mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
Merge pull request #49462 from rzarzynski/wip-bug-53789
osdc: fix the ENOCONN normalization in Objecter::_linger_reconnect()
This commit is contained in:
commit
cd2edcf9d9
@ -671,8 +671,8 @@ void Objecter::_linger_reconnect(LingerOp *info, bs::error_code ec)
|
||||
<< " (last_error " << info->last_error << ")" << dendl;
|
||||
std::unique_lock wl(info->watch_lock);
|
||||
if (ec) {
|
||||
ec = _normalize_watch_error(ec);
|
||||
if (!info->last_error) {
|
||||
ec = _normalize_watch_error(ec);
|
||||
if (info->handle) {
|
||||
asio::defer(finish_strand, CB_DoWatchError(this, info, ec));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user