MCPcopy Create free account
hub / github.com/alibaba/zvec / flush

Method flush

src/core/algorithm/flat_sparse/flat_sparse_streamer.cc:121–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121int FlatSparseStreamer::flush(uint64_t checkpoint) {
122 if (state_ != STATE_OPENED) {
123 LOG_ERROR("Failed to flush, open streamer first!");
124 return IndexError_NoReady;
125 }
126
127 LOG_INFO("FlatSparseStreamer flush, checkpoint=%zu", (size_t)checkpoint);
128
129 return entity_.flush(checkpoint);
130}
131
132int FlatSparseStreamer::dump(const IndexDumper::Pointer &dumper) {
133 if (state_ != STATE_OPENED) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected