Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3:
- action: shrink
- description: >-
- Shrink selected indices on the node with the most available space. Delete source index after successful shrink,
- then reroute the shrunk index with the provided parameters.
- options: &shrinkOptions
- ignore_empty_list: True
- shrink_node: es-data-master-warm-0
- shrink_suffix: '-warm'
- node_filters:
- permit_masters: True
- number_of_shards: 1
- number_of_replicas: 0
- wait_for_active_shards: 1
- extra_settings:
- settings:
- index.codec: best_compression
- post_allocation:
- key: box_type
- value: warm
- delete_after: True
- wait_for_completion: True
- continue_if_exception: True
- filters:
- - *timestringWithDotsOlder
- - *timestringWithDotsYounger
- - *excludeWarm
- 4:
- action: forcemerge
- description: "Perform a forceMerge on selected indices to 'max_num_segments' per shard"
- options: &forcemergeOptions
- ignore_empty_list: True
- max_num_segments: 2
- delay:
- timeout_override: 21600
- continue_if_exception: True
- filters:
- - *timestringWithDotsOlder
- - *timestringWithDotsYounger
- - &includeWarm
- filtertype: pattern
- kind: suffix
- value: '-warm'
Add Comment
Please, Sign In to add comment