Skip to content

Refactor TransportIndicesAliasesAction action loop for ease of understanding #107017

Open
@parkertimmins

Description

@parkertimmins

Description

While working on #106514 , it became clear that the main method of TransportIndicesAliasesAction has grown unwieldy. In particular, the large loop over request actions with multiple continue statements is difficult to understand.

A possible refactoring would involve moving the sections of the loop that focus on concrete indices and data streams into their own functions. Then rather than continuing from the data streams portion of the loop (here), the data stream function would call into the concrete index function.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions