Skip to content

Don't return or accept node_version in the Desired Nodes API#114580

Merged
arteam merged 15 commits intoelastic:mainfrom
arteam:remove-desired-nodes-status
Oct 24, 2024
Merged

Don't return or accept node_version in the Desired Nodes API#114580
arteam merged 15 commits intoelastic:mainfrom
arteam:remove-desired-nodes-status

Conversation

@arteam
Copy link
Copy Markdown
Contributor

@arteam arteam commented Oct 11, 2024

It was deprecated in #104209 (8.13) and shouldn't be set or returned in 9.0

The Desired Nodes API is an internal API, and users shouldn't depend on its backward compatibility.

It was deprecated in elastic#104209 (8.13) and shouldn't be set in 9.0
@arteam arteam added WIP :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. labels Oct 11, 2024
@arteam arteam removed the WIP label Oct 17, 2024
@arteam arteam changed the title Remove node_version field from DesiredNode API output Don't return or accept node_version in the DesiredNode API Oct 17, 2024
@arteam arteam added WIP and removed WIP labels Oct 17, 2024
@arteam arteam changed the title Don't return or accept node_version in the DesiredNode API Don't return or accept node_version in the Desired Nodes API Oct 17, 2024
@arteam arteam force-pushed the remove-desired-nodes-status branch from 8c662fa to 4ef63e4 Compare October 21, 2024 08:03
@arteam arteam marked this pull request as ready for review October 21, 2024 09:16
@arteam arteam requested a review from a team as a code owner October 21, 2024 09:16
@elastic elastic deleted a comment from elasticsearchmachine Oct 21, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Oct 21, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@arteam arteam merged commit c64226c into elastic:main Oct 24, 2024
@arteam arteam deleted the remove-desired-nodes-status branch October 24, 2024 16:19
georgewallace pushed a commit to georgewallace/elasticsearch that referenced this pull request Oct 25, 2024
…ic#114580)

It was deprecated in elastic#104209 (8.13) and shouldn't be set or returned in 9.0

The Desired Nodes API is an internal API, and users shouldn't depend on its backward compatibility.
@DaveCTurner
Copy link
Copy Markdown
Member

The Desired Nodes API is an internal API, and users shouldn't depend on its backward compatibility.

Hi @arteam, this isn't true, we need to preserve the v8 behaviour (i.e. the deprecation warnings) if the user is using the v8 API. Also really this one needs transport version changes so we can't really address it until after v8.last FF. It's going to be tricky to address these issues correctly on top of this change so I'd rather that you reverted it and then we can follow up later on.

@arteam
Copy link
Copy Markdown
Contributor Author

arteam commented Oct 30, 2024

Waiting until we have TransportVersions_V9 and I will keep the node_version field in order to support running the desired nodes API in a V8 compatibility node.

jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
…ic#114580)

It was deprecated in elastic#104209 (8.13) and shouldn't be set or returned in 9.0

The Desired Nodes API is an internal API, and users shouldn't depend on its backward compatibility.
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Nov 4, 2024
arteam added a commit to arteam/elasticsearch that referenced this pull request Dec 19, 2024
…ic#114580)

> It was deprecated in elastic#104209 (8.13) and shouldn't be set or returned in 9.0

Note: This PR is still pending on the 9.0 transport version
arteam added a commit that referenced this pull request Feb 5, 2025
Re-submission of #114580

>  node_version was deprecated in #104209 (8.13) and shouldn't be set or returned in 9.0

Resolve ES-9443
arteam added a commit to arteam/elasticsearch that referenced this pull request Feb 5, 2025
…lastic#119049)

Backports elastic#119049 to 9.0

>  Re-submission of elastic#114580
>  node_version was deprecated in elastic#104209 (8.13) and shouldn't be set or returned in 9.0
elasticsearchmachine pushed a commit that referenced this pull request Feb 5, 2025
…119049) (#121775)

Backports #119049 to 9.0

>  Re-submission of #114580
>  node_version was deprecated in #104209 (8.13) and shouldn't be set or returned in 9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >non-issue >refactoring Team:Distributed Meta label for distributed team. v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants