Update ReadBufferFromS3.h

This commit is contained in:
Kseniia Sumarokova 2022-04-04 17:53:01 +02:00 committed by GitHub
parent 6c6fb5c3e8
commit d697576967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ private:
UInt64 max_single_read_retries; UInt64 max_single_read_retries;
/// These variables are atomic because they can be used for `logging only` /// These variables are atomic because they can be used for `logging only`
/// (where it is not important to get consistent result)
/// from separate thread other than the one which uses the buffer for s3 reading. /// from separate thread other than the one which uses the buffer for s3 reading.
std::atomic<off_t> offset = 0; std::atomic<off_t> offset = 0;
std::atomic<off_t> read_until_position = 0; std::atomic<off_t> read_until_position = 0;