MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / SplitList

Method SplitList

src/storage/segment.cc:625–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625void Segment::SplitList(KeyEntry* entry, uint64_t ts,
626 ::fedb::base::Node<uint64_t, DataBlock*>** node) {
627 // skip entry that ocupied by reader
628 if (entry->refs_.load(std::memory_order_acquire) <= 0) {
629 *node = entry->entries.Split(ts);
630 }
631}
632
633// fast gc with no global pause
634void Segment::Gc4TTL(const uint64_t time, uint64_t& gc_idx_cnt,

Callers

nothing calls this directly

Calls 1

SplitMethod · 0.45

Tested by

no test coverage detected