Skip to content

Conversation

@talevy
Copy link
Contributor

@talevy talevy commented Jul 23, 2019

Aliases have had the option to set is_write_index since 6.4,
but the cat.aliases action was never updated.

example:

alias            index                              filter routing.index routing.search  is_write_index
filebeat-7.0.1   filebeat-7.0.1-2019.07.23-000011   -      -             -               -
metricbeat-7.0.1 metricbeat-7.0.1-2019.07.23-000005 -      -             -               true
metricbeat-7.0.1 metricbeat-7.0.1-2019.07.21-000003 -      -             -               false

Aliases have had the option to set `is_write_index` since 6.4,
but the cat.aliases action was never updated.
@talevy talevy added >bug :Core/Infra/REST API REST infrastructure and utilities v8.0.0 v7.4.0 labels Jul 23, 2019
@talevy talevy requested a review from gwbrown July 23, 2019 19:27
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

LGTM (assuming CI is happy), thanks @talevy!

@talevy
Copy link
Contributor Author

talevy commented Aug 5, 2019

run elasticsearch-ci/bwc

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

Still LGTM - I don't love the duplication of the test cases, but I don't know of a better way to do it either.

@talevy
Copy link
Contributor Author

talevy commented Aug 5, 2019

thanks Gordon

run elasticsearch-ci/bwc
run elasticsearch-ci/default-distro

@talevy talevy merged commit 7106288 into elastic:master Aug 21, 2019
@talevy talevy deleted the cat-alias-write branch August 21, 2019 14:40
talevy added a commit to talevy/elasticsearch that referenced this pull request Aug 21, 2019
talevy added a commit that referenced this pull request Aug 21, 2019
talevy added a commit that referenced this pull request Aug 21, 2019
* Add is_write_index column to cat.aliases (#44772)

Aliases have had the option to set `is_write_index` since 6.4,
but the cat.aliases action was never updated.

* correct version bounds to 7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants