Skip to content

Commit

Permalink
fix: Use correct release func when datanode unwatch a channel
Browse files Browse the repository at this point in the history
See also milvus-io#35654

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
  • Loading branch information
congqixia committed Aug 23, 2024
1 parent 946881e commit 9420b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/datanode/channel_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func NewChannelManager(dn *DataNode) *ChannelManagerImpl {
opRunners: typeutil.NewConcurrentMap[string, *opRunner](),
abnormals: typeutil.NewConcurrentMap[int64, string](),

releaseFunc: dn.flowgraphManager.RemoveFlowgraph,
releaseFunc: dn.tryToReleaseFlowgraph,

closeCh: lifetime.NewSafeChan(),
}
Expand Down

0 comments on commit 9420b2d

Please sign in to comment.