Skip to content

Commit

Permalink
clean replication task processor after disconnect (#3882)
Browse files Browse the repository at this point in the history
  • Loading branch information
yux0 authored Feb 2, 2023
1 parent cbd73e0 commit dbeab31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/replication/task_processor_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ func (r *taskProcessorManagerImpl) handleClusterMetadataUpdate(
}
for _, processor := range r.taskProcessors[clusterName] {
processor.Stop()
delete(r.taskProcessors, clusterName)
}
delete(r.taskProcessors, clusterName)
}

// Case 2 and Case 3
Expand Down

0 comments on commit dbeab31

Please sign in to comment.