MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / checkpoint

Method checkpoint

src/storage/table/csr_node_group.cpp:490–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void CSRNodeGroup::checkpoint(MemoryManager&, NodeGroupCheckpointState& state) {
491 const auto lock = chunkedGroups.lock();
492 if (!persistentChunkGroup) {
493 checkpointInMemOnly(lock, state);
494 } else {
495 checkpointInMemAndOnDisk(lock, state);
496 }
497 checkpointDataTypesNoLock(state);
498}
499
500void CSRNodeGroup::reclaimStorage(PageAllocator& pageAllocator, const UniqLock& lock) const {
501 NodeGroup::reclaimStorage(pageAllocator, lock);

Callers 2

checkpointColumnMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected