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: add alias for node_id to writer_id for backward compatibility #25910

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

hiltontj
Copy link
Contributor

This change is to reduce friction from the recent change from writer-id to node-id in #25905 by adding deserialization aliases to the catalog and snapshot types so that existing catalog and snapshot JSON files will still successfully deserialize without users needing to start completely from scratch.

Any users that have been running since the alpha release will have catalog and snapshot files written with writer_id. This will still support those files, but write new ones with the node_id field name going forward.

@hiltontj hiltontj added the v3 label Jan 24, 2025
@hiltontj hiltontj self-assigned this Jan 24, 2025
@hiltontj hiltontj requested a review from a team January 24, 2025 03:09
Copy link
Contributor

@dgnorton dgnorton left a comment

Choose a reason for hiding this comment

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

lgtm

@hiltontj hiltontj merged commit 07bd04b into main Jan 24, 2025
13 checks passed
@hiltontj hiltontj deleted the hiltontj/alias-node-id branch January 24, 2025 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants