![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/35bc6ba23f668066d795d503822b0f51.jpeg)
1.概述
有个环境我想从savepoints恢复,但是修改了并行度,然后报错: The maximum parallelism (1) of the restored state is lower than the configured parallelism
1.1.源码
首先这个是从savepoint恢复会调用restoreLatestCheckpointedStateInternal,在里面会调用assignStates
...
stateAssignmentOperation.assignStates