-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Fixing StreamsMetadata xcontent serialization #132953
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
Fixing StreamsMetadata xcontent serialization #132953
Conversation
|
Pinging @elastic/es-data-management (Team:Data Management) |
dakrone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing this Keith
seanzatzdev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
💔 Backport failed
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit d33dceb) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/StreamsMetadata.java
* Fixing StreamsMetadata xcontent serialization (#132953) (cherry picked from commit d33dceb) # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/StreamsMetadata.java * removing reference to project * [CI] Auto commit changes from spotless --------- Co-authored-by: elasticsearchmachine <[email protected]>
This adds the ability to deserialize StreamsMetadata from xcontent. Since it is stored as xcontent in the cluster state, we were unable to read the existing cluster state on node restarts or snapshot restores.
Closes #132468