# Curator: During Shrink, replicas assigned to ignored nodes

**URL:** <https://discuss.elastic.co/t/curator-during-shrink-replicas-assigned-to-ignored-nodes/164630>\
**Category:** Elasticsearch\
**Created:** [January 17, 2019, 12:16pm UTC](https://discuss.elastic.co/t/curator-during-shrink-replicas-assigned-to-ignored-nodes/164630 "2019-01-17T12:16:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StephenThorpe](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@StephenThorpe](https://discuss.elastic.co/u/StephenThorpe)\
**Post date:** [January 17, 2019, 12:16pm UTC](https://discuss.elastic.co/t/curator-during-shrink-replicas-assigned-to-ignored-nodes/164630/1 "2019-01-17T12:16:31Z")

</div>

Hi All,

ElasticSearch 6.5.4 and Curator 5.6

I'm testing out curator and have it successfully moving shards from 'hot' nodes to 'warm' nodes.

I'm now looking at shrinking the shards down to 3 (3 warm nodes). This is working 'sort of' except that the replica shards are being initialised on my 'hot' / nodes in the ignored list then being moved back to warm once they have been initialised on the wrong nodes.

Also I'm seeing all 3 active shards being created on one 'warm' node then again being redistributed once the process in complete.

Is there anything wrong with my config or a feature of curator?

My curator config is this:

actions:  
1:  
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:  
ignore\_empty\_list: True  
shrink\_node: DETERMINISTIC  
node\_filters:  
permit\_masters: False  
exclude\_nodes: ["10.12.74.11", "10.12.74.12", "10.12.74.13", "10.12.74.14", "10.12.74.15", "10.12.74.16", "10.12.74.17", "10.12.74.18", "10.12.74.19"]  
number\_of\_shards: 3  
number\_of\_replicas: 1  
shrink\_prefix:  
shrink\_suffix: '-shrink'  
delete\_after: True  
post\_allocation:  
allocation\_type: include  
key: boxtype  
value: warm  
wait\_for\_active\_shards: 1  
extra\_settings:  
settings:  
index.codec: best\_compression  
wait\_for\_completion: True  
wait\_for\_rebalance: True  
wait\_interval: 9  
max\_wait: -1  
filters:  
- filtertype: pattern  
kind: prefix  
value: graylog\_  
- filtertype: age  
source: creation\_date  
direction: older  
unit: hours  
unit\_count: 80  
- filtertype: age  
source: creation\_date  
direction: younger  
unit: hours  
unit\_count: 100

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 14, 2019, 12:16pm UTC](https://discuss.elastic.co/t/curator-during-shrink-replicas-assigned-to-ignored-nodes/164630/2 "2019-02-14T12:16:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
