mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
Fix after merge
This commit is contained in:
parent
188b41cdb2
commit
58a30213c9
@ -538,7 +538,8 @@ void FileSegment::setBroken()
|
||||
assertNotDetachedUnlocked(lock);
|
||||
assertIsDownloaderUnlocked("setBroken", lock);
|
||||
|
||||
resetDownloadingStateUnlocked(lock);
|
||||
if (download_state == State::DOWNLOADING)
|
||||
resetDownloadingStateUnlocked(lock);
|
||||
if (download_state != State::DOWNLOADED)
|
||||
download_state = State::PARTIALLY_DOWNLOADED_NO_CONTINUATION;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user