Skip to content

Conversation

@jimczi
Copy link
Contributor

@jimczi jimczi commented Mar 20, 2025

ModelRegistryMetadata has now been backported to 8.19 via #125150. This update ensures that we properly differentiate between nodes running 8.19.x (which supports the new custom metadata) and 9.0.x (which does not). To achieve this, this PR introduces a new supportsVersion(TransportVersion) method for NamedWriteable and NamedDiff, allowing subclasses to customize their backward compatibility behavior.

ModelRegistryMetadata has now been backported to 8.19 via elastic#125150. This update ensures that we properly differentiate between nodes running 8.19.x (which supports the new custom metadata) and 9.0.x (which does not).
To achieve this, this PR introduces a new `supportsVersion(TransportVersion)` method for `NamedWriteable` and `NamedDiff`, allowing subclasses to customize their backward compatibility behavior.
@jimczi jimczi added >non-issue :ml Machine learning v9.1.0 labels Mar 20, 2025
@jimczi jimczi requested a review from a team as a code owner March 20, 2025 12:14
@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Mar 20, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

@jimczi jimczi merged commit 0ff526a into elastic:main Mar 21, 2025
17 checks passed
@jimczi jimczi deleted the model_registry_compatible_version branch March 21, 2025 09:28
afoucret pushed a commit to afoucret/elasticsearch that referenced this pull request Mar 21, 2025
ModelRegistryMetadata has now been backported to 8.19 via elastic#125150. This update ensures that we properly differentiate between nodes running 8.19.x (which supports the new custom metadata) and 9.0.x (which does not).
To achieve this, this PR introduces a new `supportsVersion(TransportVersion)` method for `NamedWriteable` and `NamedDiff`, allowing subclasses to customize their backward compatibility behavior.
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Mar 21, 2025
ModelRegistryMetadata has now been backported to 8.19 via elastic#125150. This update ensures that we properly differentiate between nodes running 8.19.x (which supports the new custom metadata) and 9.0.x (which does not).
To achieve this, this PR introduces a new `supportsVersion(TransportVersion)` method for `NamedWriteable` and `NamedDiff`, allowing subclasses to customize their backward compatibility behavior.
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
ModelRegistryMetadata has now been backported to 8.19 via elastic#125150. This update ensures that we properly differentiate between nodes running 8.19.x (which supports the new custom metadata) and 9.0.x (which does not).
To achieve this, this PR introduces a new `supportsVersion(TransportVersion)` method for `NamedWriteable` and `NamedDiff`, allowing subclasses to customize their backward compatibility behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning >non-issue Team:ML Meta label for the ML team v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants