[FLINK-39162][checkpoints] Disable UC for CustomPartitioner#27731
[FLINK-39162][checkpoints] Disable UC for CustomPartitioner#27731rkhachatryan wants to merge 1 commit intoapache:masterfrom
Conversation
1996fanrui
left a comment
There was a problem hiding this comment.
Thanks @rkhachatryan for fix!
The original purpose of FLINK-39162 is to support UC for CustomPartitioner, because it has been supported partially and that is why downscale works.
I agree to disable it explicitly first since it has potential bugs. And it could be improved in the future if needed.
|
Thanks for the review!
I don't think that's possible but maybe I'm missing something. |
| // fully rely on filtering downstream | ||
| // note that custom partitioners are not officially supported - the user has to force | ||
| // rescaling in that case, we assume that the custom partitioner is deterministic | ||
| return SubtaskStateMapper.FULL; |
There was a problem hiding this comment.
It seems unaligned checkpoint could be enabled for custom partitioner when setForceUnalignedCheckpoints is enabled.
disableUnalignedCheckpoints(); will disable UC thoroughly.
No description provided.