wangyang0918 commented on a change in pull request #12399:
URL: https://github.com/apache/flink/pull/12399#discussion_r435664677
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/taskexecutor/TaskSubmissionTestEnvironment.java
##########
@@ -167,6 +157,21 @@ private TaskSubmissionTestEnvironment(
taskExecutor.start();
taskExecutor.waitUntilStarted();
+
Review comment:
After checking the code, i think you are right. `TaskExecutor` is
responsible for always accessing the `taskSlotTable` in the RPC main thread. We
do not need to pass a `threadSafeTaskSlotTable` when building
`taskManagerServices`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]