mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for dataSyncService in query node (#8418)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/8436/head
parent
a6060e4481
commit
1b7056d3c2
|
@ -204,6 +204,7 @@ func newDataSyncService(ctx context.Context,
|
|||
}
|
||||
|
||||
func (dsService *dataSyncService) close() {
|
||||
// close collection flow graphs
|
||||
for _, nodeFGs := range dsService.collectionFlowGraphs {
|
||||
for _, nodeFG := range nodeFGs {
|
||||
if nodeFG != nil {
|
||||
|
@ -211,6 +212,7 @@ func (dsService *dataSyncService) close() {
|
|||
}
|
||||
}
|
||||
}
|
||||
// close partition flow graphs
|
||||
for _, nodeFGs := range dsService.partitionFlowGraphs {
|
||||
for _, nodeFG := range nodeFGs {
|
||||
if nodeFG != nil {
|
||||
|
|
Loading…
Reference in New Issue