Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.14.2
Description
Current changelog related code would check the number of read bytes whether equal to target bytes:
checkState(size == input.read(bytes));
However, this is not correct as the java doc said: "An attempt is made to read as many as len bytes, but a smaller number may be read, possibly zero."
Attachments
Issue Links
- blocks
-
FLINK-25144 Test Changelog State Backend manually
- Resolved
- fixes
-
FLINK-25260 Recovery fails when using changelog+s3+presto
- Closed
- links to