This seems to be a residual problem with
FLINK-10396. It is set to true in that PR. Currently it has three usage scenarios:
1. assert, caused an error
2. if (!isNewMode) the logic in the block would not have invoked, the if block can be removed
3. if (isNewMode) always been invoked, the if statement can be removed.