mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #42443 from pamarcos/fix_typos
Fix typos in FileSegment code documentation and sync exception text with source code
This commit is contained in:
commit
2bc30634cb
@ -66,7 +66,7 @@ FileSegment::FileSegment(
|
||||
{
|
||||
throw Exception(
|
||||
ErrorCodes::REMOTE_FS_OBJECT_CACHE_ERROR,
|
||||
"Can create cell with either EMPTY, DOWNLOADED, DOWNLOADING state");
|
||||
"Can only create cell with either EMPTY, DOWNLOADED or SKIP_CACHE state");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,10 +66,10 @@ public:
|
||||
*/
|
||||
DOWNLOADING,
|
||||
/**
|
||||
* Space reservation for a file segment is incremental, i.e. downaloder reads buffer_size bytes
|
||||
* Space reservation for a file segment is incremental, i.e. downloader reads buffer_size bytes
|
||||
* from remote fs -> tries to reserve buffer_size bytes to put them to cache -> writes to cache
|
||||
* on successful reservation and stops cache write otherwise. Those, who waited for the same file
|
||||
* file segment, will read downloaded part from cache and remaining part directly from remote fs.
|
||||
* segment, will read downloaded part from cache and remaining part directly from remote fs.
|
||||
*/
|
||||
PARTIALLY_DOWNLOADED_NO_CONTINUATION,
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user