Limiting size of shard data

Hi there,

We recently had a problem with our elasticsearch cluster which resulted in
the shard data filling a partition. Without going into too many details, is
there a setting within elasticsearch which can limit the size of the shard
data? If there isn't, how can we stop this happening within the application?

I am going to re-partition and move the directory of elasticsearch to
mitigate this problem in the future, but I would also like to know if
there's a way for elasticsearch to stop allocating shards to a node if a
size limit is reached?

Any help appreciated.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

This has been fixed recently by introducing a disk space aware shard
allocator. See this pull request

If you want to take advance of it, you'll have to update to the latest ES
release.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.