Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configuration compatibility issues #2648

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

muhamadazmy
Copy link
Contributor

@muhamadazmy muhamadazmy commented Feb 6, 2025

Fix configuration compatibility issues

Summary:

Making sure a single node server v1.2 can still work
with a v1.1.6 config


Stack created with Sapling. Best reviewed with ReviewStack.

#[serde(flatten)]
pub kind: MetadataServerKind,
kind: Option<MetadataServerKind>,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The weird thing I found is that even with [serde(default)] the decoder still complains about missing key type.

@muhamadazmy muhamadazmy requested a review from pcholakov February 6, 2025 11:56
@muhamadazmy muhamadazmy marked this pull request as ready for review February 6, 2025 11:56
@muhamadazmy muhamadazmy mentioned this pull request Feb 6, 2025
@muhamadazmy muhamadazmy force-pushed the pr2648 branch 3 times, most recently from 26237a1 to 04ef4ef Compare February 6, 2025 15:39
Copy link
Contributor

@pcholakov pcholakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for testing and fixing this, @muhamadazmy!

Summary:

Making sure a single node server v1.2 can still work
with a v1.1.6 config
@muhamadazmy muhamadazmy merged commit 9294931 into restatedev:main Feb 7, 2025
50 checks passed
@muhamadazmy muhamadazmy deleted the pr2648 branch February 7, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants