Add comment for DataCoord startFlushLoop (#13379)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2021-12-15 09:45:09 +08:00 committed by GitHub
parent 6320759689
commit 3b4d114b71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -632,6 +632,8 @@ func (s *Server) handleSessionEvent(ctx context.Context, event *sessionutil.Sess
return nil
}
// startFlushLoop starts a goroutine to handle post func process
// which is to notify `RootCoord` that this segment is flushed
func (s *Server) startFlushLoop(ctx context.Context) {
go func() {
defer logutil.LogPanic()