I'm using Elastic Cloud. I created the cluster with Hot Warm arch for timeseries. I applied the Index Curation in which it will move index after 1 day from Hot node to the Warm node.
After 2/3 days, I checked the index's setting has been updated to be routed to the Warm node.
Edit: Please ignore my post. My resolution was completely different.
Due to the data being on the hot and warm nodes, it was necessary for me to take it down to 1 Replica before allocation. After which, it worked as expected.
Edit2: Can I just say how much I appreciated seeing "wait_for_it" as Curator debug output?
Original post:
I'm using "require" and am experiencing the same behavior.
index.routing.allocation.require.{attribute}
Curator config:
actions:
1:
action: allocation
description: >-
Move indices older than 8 days (based on index name), for production
prefixed indices to warm, data-only node for archival.
options:
key: box_type
value: warm
allocation_type: require
wait_for_completion: True
ignore_empty_list: True
timeout_override:
continue_if_exception: False
disable_action: False
filters:
- filtertype: pattern
kind: prefix
value: 'customer-environment-'
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 8
I had noticed some weird attributes of Cloud ES nodes. There is an inconsistent in attributes (one node zone a, can belong to 2 logical zones), means the ES Allocation awareness would be in tight state, which the shards cannot even move to another nodes. Because it either change AZ, or logical AZ.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.