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

Method checkpoint

src/storage/overflow_file.cpp:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void OverflowFileHandle::checkpoint() {
142 for (auto& [pageIndex, page] : pageWriteCache) {
143 overflowFile.writePageToDisk(pageIndex, page.buffer->getData(), page.newPage);
144 }
145}
146
147void OverflowFileHandle::reclaimStorage(PageAllocator& pageAllocator) {
148 if (startPageIdx == INVALID_PAGE_IDX) {

Callers

nothing calls this directly

Calls 2

writePageToDiskMethod · 0.80
getDataMethod · 0.45

Tested by

no test coverage detected