Skip to content

[7.x] Add null check for shard stats to data tier telemetry (#75185)#75386

Merged
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-75185
Jul 15, 2021
Merged

[7.x] Add null check for shard stats to data tier telemetry (#75185)#75386
elasticsearchmachine merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-75185

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented Jul 15, 2021

Backports the following commits to 7.x:

This adds a null check, as `getShardStats(index)` may return null.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
@dakrone dakrone added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. labels Jul 15, 2021
@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 15, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@elasticsearchmachine elasticsearchmachine merged commit bf91b87 into elastic:7.x Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v7.15.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants