mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix sending a new request every 2 MB
This commit is contained in:
parent
1f0de3de64
commit
1fb902c5b7
@ -574,7 +574,7 @@ off_t ReadWriteBufferFromHTTP::seek(off_t offset_, int whence)
|
||||
if (impl)
|
||||
{
|
||||
auto position = getPosition();
|
||||
if (offset_ > position)
|
||||
if (offset_ >= position)
|
||||
{
|
||||
size_t diff = offset_ - position;
|
||||
if (diff < read_settings.remote_read_min_bytes_for_seek)
|
||||
|
Loading…
Reference in New Issue
Block a user