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