[FLINK-35441][tests] Add migration test cases#3365
Closed
yuxiqian wants to merge 1 commit into
Closed
Conversation
34f150d to
e47077a
Compare
Member
Author
|
I'm not sure if it's OK to perform migration tests like so, could @leonardBang @PatrickRen please provide some advices on this? Thanks! |
SchemaManager and ChangeTableInfofee3309 to
25fcba1
Compare
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This closes FLINK-35441.
Adding backwards compatible test with
3.0.0and3.1.0version by serializing objects on lower versions and deserializing them on snapshot version.SchemaManagertest runs on3.1.0only since commit bcad5d9 and [FLINK-34653] Support table merging with route #3129 changesSchemaRegistryserialization fields and breaks backwards compatibility.SchemaRegistrytest runs on3.1.0only, since it storesSchemaManagerin its state.ChangeTableInfotest runs on3.1.0only since Transform feature does not exist in3.0.x.Also noticed that there's no much classes using versioned serialization protocol, which couldn't guarantee backwards compatibility. Needs more discussion on how to refactor them.