mirror of https://github.com/milvus-io/milvus.git
Add injectFlush method for flushManager interface (#10659)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/10842/head
parent
97c2693e8f
commit
756be81bce
|
@ -36,6 +36,8 @@ type flushManager interface {
|
|||
flushBufferData(data *BufferData, segmentID UniqueID, flushed bool, pos *internalpb.MsgPosition) error
|
||||
// notify flush manager del buffer data
|
||||
flushDelData(data *DelDataBuf, segmentID UniqueID, pos *internalpb.MsgPosition) error
|
||||
// injectFlush injects compaction or other blocking task before flush sync
|
||||
injectFlush(injection taskInjection, segments ...UniqueID)
|
||||
}
|
||||
|
||||
// segmentFlushPack contains result to save into meta
|
||||
|
|
Loading…
Reference in New Issue