wangyum commented on PR #17315: URL: https://github.com/apache/iceberg/pull/17315#issuecomment-5061223396
> > The user-facing issue is: > > > > * 1.10.x writes a checkpoint/savepoint using the old WriteTarget format, tagged version 1 > > * 1.11.0 reads that checkpoint, sees version == 1, but reads it using the new TableKey + specId format (because the version wasn't bumped). fails with `StreamCorruptedException: invalid stream header: 00000000` > > If we fix this now, then what will happen when a user runs a job with 1.11.0, and upgrades to the fixed version? Both 1.10 and 1.11 works if apply this patch. | From → To | Path | |---|---| | 1.10.x → fixed | V1 → heuristic detects old format → `deserializeV1WriteTarget` | | 1.11.0 → fixed | V1 → heuristic detects new format → `deserializeV2` | | fixed → fixed | V2 → `deserializeV2` | -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
