| 119 | } |
| 120 | |
| 121 | int 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 | |
| 132 | int FlatSparseStreamer::dump(const IndexDumper::Pointer &dumper) { |
| 133 | if (state_ != STATE_OPENED) { |
nothing calls this directly
no outgoing calls
no test coverage detected