-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HLRC's LifecyclePolicy is missing multiple valid actions in ALLOWED_ACTIONS #81461
Labels
Comments
Pinging @elastic/es-data-management (Team:Data Management) |
dakrone
added a commit
to dakrone/elasticsearch
that referenced
this issue
Dec 7, 2021
This commit changes the High Level Rest Client's `LifecyclePolicy` implementation to allow all the same valid actions for each phase that ILM supports. It was previously missing actions in the hot and cold phases, as well as missing the frozen phase entirely. This also adds a test that uses the "real" `TimeseriesLifecycleType.ORDERED_*ACTIONS` lists so that if an action is added or removed in the future the test will fail. Resolves elastic#81461
elasticsearchmachine
pushed a commit
that referenced
this issue
Dec 15, 2021
This commit changes the High Level Rest Client's `LifecyclePolicy` implementation to allow all the same valid actions for each phase that ILM supports. It was previously missing actions in the hot and cold phases, as well as missing the frozen phase entirely. This also adds a test that uses the "real" `TimeseriesLifecycleType.ORDERED_*ACTIONS` lists so that if an action is added or removed in the future the test will fail. Resolves #81461
dakrone
added a commit
to dakrone/elasticsearch
that referenced
this issue
Dec 15, 2021
…#81483) This commit changes the High Level Rest Client's `LifecyclePolicy` implementation to allow all the same valid actions for each phase that ILM supports. It was previously missing actions in the hot and cold phases, as well as missing the frozen phase entirely. This also adds a test that uses the "real" `TimeseriesLifecycleType.ORDERED_*ACTIONS` lists so that if an action is added or removed in the future the test will fail. Resolves elastic#81461
elasticsearchmachine
pushed a commit
that referenced
this issue
Dec 15, 2021
…#81746) This commit changes the High Level Rest Client's `LifecyclePolicy` implementation to allow all the same valid actions for each phase that ILM supports. It was previously missing actions in the hot and cold phases, as well as missing the frozen phase entirely. This also adds a test that uses the "real" `TimeseriesLifecycleType.ORDERED_*ACTIONS` lists so that if an action is added or removed in the future the test will fail. Resolves #81461
dakrone
added a commit
to dakrone/elasticsearch
that referenced
this issue
Dec 15, 2021
…#81483) This commit changes the High Level Rest Client's `LifecyclePolicy` implementation to allow all the same valid actions for each phase that ILM supports. It was previously missing actions in the hot and cold phases, as well as missing the frozen phase entirely. This also adds a test that uses the "real" `TimeseriesLifecycleType.ORDERED_*ACTIONS` lists so that if an action is added or removed in the future the test will fail. Resolves elastic#81461 # Conflicts: # client/rest-high-level/src/test/java/org/elasticsearch/client/indexlifecycle/LifecyclePolicyTests.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/TimeseriesLifecycleType.java
elasticsearchmachine
pushed a commit
that referenced
this issue
Dec 15, 2021
…81483) (#81765) * Change HLRC's LifecyclePolicy to allow all valid ILM actions (#81483) This commit changes the High Level Rest Client's `LifecyclePolicy` implementation to allow all the same valid actions for each phase that ILM supports. It was previously missing actions in the hot and cold phases, as well as missing the frozen phase entirely. This also adds a test that uses the "real" `TimeseriesLifecycleType.ORDERED_*ACTIONS` lists so that if an action is added or removed in the future the test will fail. Resolves #81461 # Conflicts: # client/rest-high-level/src/test/java/org/elasticsearch/client/indexlifecycle/LifecyclePolicyTests.java # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ilm/TimeseriesLifecycleType.java * Fix test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
ALLOWED_ACTIONS
map in the HLRCLifecyclePolicy.java
is missing actions (actually the entirefrozen
phase). We should bring it up to parity in the 7.x timeseries.The text was updated successfully, but these errors were encountered: