MCPcopy Create free account
hub / github.com/apache/impala / CompleteStoreTask

Method CompleteStoreTask

be/src/runtime/io/data-cache.cc:1477–1482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1475}
1476
1477void DataCache::CompleteStoreTask(const StoreTask& task) {
1478 current_buffer_size_.Add(-task.buffer_len());
1479 DCHECK_GE(current_buffer_size_.Load(), 0);
1480 ImpaladMetrics::IO_MGR_REMOTE_DATA_CACHE_ASYNC_WRITES_OUTSTANDING_BYTES->SetValue(
1481 current_buffer_size_.Load());
1482}
1483
1484void DataCache::HandleStoreTask(uint32_t thread_id, const StoreTaskHandle& task) {
1485 StoreInternal(task->key(), task->buffer(), task->buffer_len());

Callers 1

~StoreTaskMethod · 0.80

Calls 4

AddMethod · 0.45
buffer_lenMethod · 0.45
LoadMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected