Skip to content

Commit

Permalink
[hotfix][state/forst] Use correct executor for ForSt coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakelly committed Sep 29, 2024
1 parent 1ba3d39 commit 3f2fd23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public ForStStateExecutor(
this.coordinatorThread =
coordinatorInline
? org.apache.flink.util.concurrent.Executors.newDirectExecutorService()
: Executors.newSingleThreadScheduledExecutor(
: Executors.newSingleThreadExecutor(
new ExecutorThreadFactory(
"ForSt-StateExecutor-Coordinator-And-Write"));
this.readThreadCount = readIoParallelism;
Expand All @@ -101,7 +101,7 @@ public ForStStateExecutor(
this.coordinatorThread =
coordinatorInline
? org.apache.flink.util.concurrent.Executors.newDirectExecutorService()
: Executors.newSingleThreadScheduledExecutor(
: Executors.newSingleThreadExecutor(
new ExecutorThreadFactory("ForSt-StateExecutor-Coordinator"));
if (readIoParallelism <= 0 || writeIoParallelism <= 0) {
this.readThreadCount = Math.max(readIoParallelism, writeIoParallelism);
Expand Down

0 comments on commit 3f2fd23

Please sign in to comment.