diff --git a/src/Interpreters/Cache/FileSegment.cpp b/src/Interpreters/Cache/FileSegment.cpp index 6dffbfa3105..e015c8a59dc 100644 --- a/src/Interpreters/Cache/FileSegment.cpp +++ b/src/Interpreters/Cache/FileSegment.cpp @@ -668,7 +668,7 @@ String FileSegment::getInfoForLogUnlocked(const FileSegmentGuard::Lock & lock) c info << "key: " << key().toString() << ", "; info << "state: " << download_state << ", "; info << "downloaded size: " << getDownloadedSizeUnlocked(lock) << ", "; - info << "reserved size: " << reserved_size << ", "; + info << "reserved size: " << reserved_size.load() << ", "; info << "downloader id: " << (downloader_id.empty() ? "None" : downloader_id) << ", "; info << "current write offset: " << getCurrentWriteOffsetUnlocked(lock) << ", "; info << "first non-downloaded offset: " << getFirstNonDownloadedOffsetUnlocked(lock) << ", ";