Open Tan-JiaLiang opened 1 day ago
If the job parallelism is 1, the Writer operator and the Compact Coordinator operator will be chained. However, since the parallelism of the Compact Coordinator operator is always 1, when the job parallelism is adjusted, the Writer operator and the Compact Coordinator operator will be separated, resulting in the state not being recoverable.
We need to disable chain between writer operator and compact corrdinator operator.
Same as org.apache.paimon.flink.sink.FlinkSink#doWrite
@JingsongLi WDYT? Should we add an option to control this? Like #3232.
I think #4424 can solve this problem. But do we still need to add the disable chain? Or do we just need to recommend that users add the 'sink.operator-uid.suffix' and 'source.operator-uid.suffix' options to their Flink job?
Search before asking
Paimon version
0.9.0
Compute Engine
Flink
Minimal reproduce step
What doesn't meet your expectations?
Job can restore from checkpoint/savepoint even if I change the parallelism.
Anything else?
No response
Are you willing to submit a PR?