mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
WriteBufferFromS3: remove unused ThreadGroupStatus
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
269453a646
commit
9fff08eac7
@ -86,10 +86,6 @@ void WriteBufferFromS3::nextImpl()
|
|||||||
size_t size = offset();
|
size_t size = offset();
|
||||||
temporary_buffer->write(working_buffer.begin(), size);
|
temporary_buffer->write(working_buffer.begin(), size);
|
||||||
|
|
||||||
ThreadGroupStatusPtr running_group = CurrentThread::isInitialized() && CurrentThread::get().getThreadGroup()
|
|
||||||
? CurrentThread::get().getThreadGroup()
|
|
||||||
: MainThreadStatus::getInstance().getThreadGroup();
|
|
||||||
|
|
||||||
ProfileEvents::increment(ProfileEvents::WriteBufferFromS3Bytes, offset());
|
ProfileEvents::increment(ProfileEvents::WriteBufferFromS3Bytes, offset());
|
||||||
last_part_size += offset();
|
last_part_size += offset();
|
||||||
if (write_settings.remote_throttler)
|
if (write_settings.remote_throttler)
|
||||||
|
Loading…
Reference in New Issue
Block a user