aglinxinyuan commented on code in PR #4441:
URL: https://github.com/apache/texera/pull/4441#discussion_r3141315699
##########
amber/src/main/scala/org/apache/texera/amber/engine/architecture/scheduling/RegionExecutionCoordinator.scala:
##########
@@ -167,6 +167,8 @@ class RegionExecutionCoordinator(
val actorRef = actorRefService.getActorRef(workerId)
// Remove the actorRef so that no other actors can find the
worker and send messages.
actorRefService.removeActorRef(workerId)
+ asyncRPCClient.inputGateway.removeControlChannel(workerId)
Review Comment:
Restarted regions reuse actorId. Remove stale control channels so the
controller does not reuse old control-message sequence numbers for new workers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]