Shard Allocation - Include/Exlcude

For the “Allocation” action in the State Management I’ve been trying to run some test to see how the three options listed for this section interact and I seem to be misunderstanding something.

{
“require”: {},
“include”: {},
“exclude”: {
“temp”: “storage”
},
“wait_for”: false
}

So the for the above example it sounds like from the parameter description of :

Don’t allocate the index to a node with any of the specified attributes.

That I would expect a shard with the above scheme to allocate into all nodes that don’t have the temp storage assigned to them.

Ultimately I’m looking to include 2 temps as “hot” nodes but exclude a third (the above storage) from being included during this allocation.

Thanks,
-Brennan

Hi,

a shard with the above scheme to allocate into all nodes that don’t have the temp storage assigned to them

Yeah, to one of the nodes not having temp=storage, that’s how it should work.

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