mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Update doc and add context
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
This commit is contained in:
parent
d18c17e786
commit
9c807cc4df
@ -1137,6 +1137,7 @@ type softTimeTickBarrier struct {
|
||||
lastTt Timestamp
|
||||
outTt chan Timestamp
|
||||
ttStream *MsgStream
|
||||
ctx context.Context
|
||||
}
|
||||
|
||||
func (ttBarrier *softTimeTickBarrier) GetTimeTick() Timestamp
|
||||
@ -1156,6 +1157,7 @@ type hardTimeTickBarrier struct {
|
||||
peer2Tt map[UniqueId]List
|
||||
outTt chan Timestamp
|
||||
ttStream *MsgStream
|
||||
ctx context.Context
|
||||
}
|
||||
|
||||
func (ttBarrier *hardTimeTickBarrier) GetTimeTick() Timestamp
|
||||
@ -1180,6 +1182,8 @@ type timeSyncMsgProducer struct {
|
||||
insertSyncStream *MsgStream
|
||||
deleteSyncStream *MsgStream
|
||||
k2sSyncStream *MsgStream
|
||||
|
||||
ctx context.Context
|
||||
}
|
||||
|
||||
func (syncMsgProducer* timeSyncMsgProducer) SetProxyTtStreams(proxyTt *MsgStream, proxyIds []UniqueId)
|
||||
@ -1189,7 +1193,7 @@ func (syncMsgProducer* timeSyncMsgProducer) SetInsertSyncStream(insertSync *MsgS
|
||||
func (syncMsgProducer* timeSyncMsgProducer) SetDeleteSyncStream(deleteSync *MsgStream)
|
||||
func (syncMsgProducer* timeSyncMsgProducer) SetK2sSyncStream(k2sSync *MsgStream)
|
||||
|
||||
func (syncMsgProducer* timeSyncMsgProducer) Start(ctx context.Context) error
|
||||
func (syncMsgProducer* timeSyncMsgProducer) Start() error
|
||||
func (syncMsgProducer* timeSyncMsgProducer) Close() error
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user