mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Fix rare race condition that makes indexing hange after reconnect
This commit is contained in:
parent
4722bc347d
commit
bb360d7247
@ -607,6 +607,7 @@ void ClientConnector::CMD_WAIT_FOR_INDEX(const std::string &cmd)
|
||||
Server->Log("Wait for async index " + async_id, LL_DEBUG);
|
||||
state = CCSTATE_START_FILEBACKUP_ASYNC;
|
||||
++it->second.refcount;
|
||||
it->second.last_update = Server->getTimeMS();
|
||||
curr_result_id = it->second.result_id;
|
||||
IndexThread::refResult(curr_result_id);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user