haishui126 commented on PR #22291: URL: https://github.com/apache/flink/pull/22291#issuecomment-1491451371
> The change makes sense. Can you add a unit test to verify the regression is fixed? > > I also think there needs to be another change to the `shouldWaitForAlignment()` to not wait on max watermark After fixing the overflow, `currentMaxDesiredWatermark` = `lastEmittedWatermark` = Long.MAX_VALUE, the `shouldWaitForAlignment()` will return false, and the idle source will keep READING. It looks like it won't need to be changed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
