Skip to content

[7.x] Validate non-negative priorities for V2 index templates (#56139)#56163

Merged
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-56139
May 4, 2020
Merged

[7.x] Validate non-negative priorities for V2 index templates (#56139)#56163
dakrone merged 1 commit intoelastic:7.xfrom
dakrone:backport/7.x/pr-56139

Conversation

@dakrone
Copy link
Copy Markdown
Member

@dakrone dakrone commented May 4, 2020

Backports the following commits to 7.x:

This also fixes an issue where a `null` priority was treated as below a 0 priority. `null` is now
treated as 0 priority when it comes to comparing V2 templates.

Relates to elastic#53101
@dakrone dakrone added backport :Data Management/Indices APIs DO NOT USE. Use ":Distributed/Indices APIs" or ":StorageEngine/Templates" instead. v7.8.0 labels May 4, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label May 4, 2020
@dakrone dakrone merged commit 8fa14b3 into elastic:7.x May 4, 2020
@dakrone dakrone deleted the backport/7.x/pr-56139 branch May 4, 2020 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.8.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants