Skip to content

Remove indices_segments 'verbose' parameter#78451

Merged
romseygeek merged 3 commits intoelastic:masterfrom
romseygeek:index-segments/remove-verbose-option
Oct 5, 2021
Merged

Remove indices_segments 'verbose' parameter#78451
romseygeek merged 3 commits intoelastic:masterfrom
romseygeek:index-segments/remove-verbose-option

Conversation

@romseygeek
Copy link
Copy Markdown
Contributor

@romseygeek romseygeek commented Sep 29, 2021

The 'verbose' option to /_segments returns memory information
for each segment. However, lucene 9 has stopped tracking this memory
information as it is largely held off-heap and so is no longer significant.

This commit deprecates the 'verbose' parameter and makes it a no-op.

Fixes #75955

@romseygeek romseygeek added :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >deprecation v8.0.0 labels Sep 29, 2021
@romseygeek romseygeek requested a review from jpountz September 29, 2021 12:36
@romseygeek romseygeek self-assigned this Sep 29, 2021
Copy link
Copy Markdown
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

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

The change looks good. One thing I'm not totally clear about is whether it can be merged before elastic/beats#26998 is addressed. This might require asking if they are using the verbose parameter.

@sethmlarson sethmlarson added the Team:Clients Meta label for clients team label Oct 4, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/clients-team (Team:Clients)

@romseygeek romseygeek merged commit 2de2bef into elastic:master Oct 5, 2021
@romseygeek romseygeek deleted the index-segments/remove-verbose-option branch October 5, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. >deprecation :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Clients Meta label for clients team v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove index segments 'verbose' option

5 participants