mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Avoid double initializing ReadBufferFromS3
This commit is contained in:
parent
47252e07f3
commit
ce8e2f7f28
@ -47,6 +47,7 @@ bool ReadBufferFromS3::nextImpl()
|
||||
bool next_result = false;
|
||||
auto sleep_time_with_backoff_milliseconds = std::chrono::milliseconds(100);
|
||||
|
||||
if (!impl)
|
||||
impl = initialize();
|
||||
|
||||
for (size_t attempt = 0; attempt < max_single_read_retries; ++attempt)
|
||||
|
Loading…
Reference in New Issue
Block a user