-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NodeIndicesStats#statsByShard is never null (#71671)
Today we support serializing `NodeIndicesStats` with a null `statsByShard` field, but in practice it is always present (since at least 5.6). If it were absent, we either throw NPEs or treat it as an empty map. This commit removes the option for this field to be null on the wire. Spotted while researching #71670.
- Loading branch information
1 parent
46328bb
commit 22ec7af
Showing
1 changed file
with
25 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters