Skip to content

Make NodeEnvironment.nodeDataPaths singular#72432

Merged
rjernst merged 8 commits intoelastic:masterfrom
rjernst:mdp16
Apr 29, 2021
Merged

Make NodeEnvironment.nodeDataPaths singular#72432
rjernst merged 8 commits intoelastic:masterfrom
rjernst:mdp16

Conversation

@rjernst
Copy link
Copy Markdown
Member

@rjernst rjernst commented Apr 29, 2021

This commit renames the nodeDataPaths method to be singular and return a
single Path instead of an array. This is done in isolation from other
NodeEnvironment methods to make it reviewable.

relates #71205

@rjernst rjernst added :Core/Infra/Core Core issues without another label >refactoring v8.0.0 labels Apr 29, 2021
@rjernst rjernst requested a review from DaveCTurner April 29, 2021 00:47
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Apr 29, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

This commit renames the nodeDataPaths method to be singular and return a
single Path instead of an array. This is done in isolation from other
NodeEnvironemnt methods to make it reviewable.

relates elastic#71205
Copy link
Copy Markdown
Member

@DaveCTurner DaveCTurner left a comment

Choose a reason for hiding this comment

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

LGTM

@rjernst rjernst merged commit 6a7298e into elastic:master Apr 29, 2021
@rjernst rjernst deleted the mdp16 branch April 29, 2021 21:40
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request May 17, 2021
Following elastic#72432 we now no longer need a `Set` of unhealthy paths, we
can just track the individual path directly.
DaveCTurner added a commit that referenced this pull request May 17, 2021
Following #72432 we now no longer need a `Set` of unhealthy paths, we
can just track the individual path directly.
@rjernst rjernst mentioned this pull request Sep 30, 2021
17 tasks
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Oct 7, 2021
This reverts commit 6a7298e.

The revert was not clean. There were two adjustements necessary.
First, this effectively must revert elastic#73136. Second, some tests
were written after MDP removal so needed to be made multi path aware.

relates elastic#78525
relates elastic#71205
rjernst added a commit that referenced this pull request Oct 11, 2021
This reverts commit 6a7298e.

The revert was not clean. There were two adjustements necessary.
First, this effectively must revert #73136. Second, some tests
were written after MDP removal so needed to be made multi path aware.

relates #78525
relates #71205
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Core Core issues without another label >refactoring Team:Core/Infra Meta label for core/infra team v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants