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

Method NewFileGroup

be/src/runtime/bufferpool/buffer-pool-test.cc:199–205  ·  view source on GitHub ↗

Create a new file group with the default configs.

Source from the content-addressed store, hash-verified

197
198 /// Create a new file group with the default configs.
199 TmpFileGroup* NewFileGroup() {
200 TmpFileGroup* file_group =
201 obj_pool_.Add(new TmpFileGroup(test_env_->tmp_file_mgr(),
202 test_env_->exec_env()->disk_io_mgr(), NewProfile(), TUniqueId()));
203 file_groups_.push_back(file_group);
204 return file_group;
205 }
206
207 // Helper to check if the page is evicted.
208 bool IsEvicted(BufferPool::PageHandle* page) {

Callers

nothing calls this directly

Calls 6

disk_io_mgrMethod · 0.80
exec_envMethod · 0.80
push_backMethod · 0.80
TUniqueIdClass · 0.50
AddMethod · 0.45
tmp_file_mgrMethod · 0.45

Tested by

no test coverage detected