seatunnel
seatunnel copied to clipboard
[Bug] when upgrade 2.3.5 version from 2.3.4, job restore failed
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
In version 2.3.4, i enable the IMAP storage cache, when upgrade to version 2.3.5. Will get exception when read data from the cached imap data. the error reason is this pr https://github.com/apache/seatunnel/pull/6666/files#r1598217272 update the field type in IMAP cached class.
SeaTunnel Version
2.3.5
SeaTunnel Config
na
Running Command
na
Error Exception
Zeta or Flink or Spark Version
zeta
Java or Scala Version
No response
Screenshots
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
cc @EricJoy2048
For the storage info (imap, checkpoint), In feature maybe still has some change, like add a filed, data type change. We need make sure we can compatible with old version (at least last version), then we can restore the historary data.
What can we do now:
- fix in release version or give advice (soluaction/warning) to user that want upgrade to version 2.3.5
- add ut to make sure in feature when we modify those class, we can notice this case.
add ut to make sure in feature when we modify those class, we can notice this case.
Yes, this is one I really think SeaTunnel should have.
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.