Skip to content

Commit dbeab31

Browse files
authored
clean replication task processor after disconnect (#3882)
1 parent cbd73e0 commit dbeab31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/history/replication/task_processor_manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ func (r *taskProcessorManagerImpl) handleClusterMetadataUpdate(
182182
}
183183
for _, processor := range r.taskProcessors[clusterName] {
184184
processor.Stop()
185-
delete(r.taskProcessors, clusterName)
186185
}
186+
delete(r.taskProcessors, clusterName)
187187
}
188188

189189
// Case 2 and Case 3

0 commit comments

Comments
 (0)