Hi, A difference in disk size doesn't mean that they don't have the same content since one of the replicas might just have run a large merge that saved disk space. Nevertheless, you can force shards to be re-replicated by using the update setting API[1] to temporarily set the number of replicas to 0 (this will deallocate replicas) and then back to the original value (which will cause replicas to be bulk-copied from the primaries).
[1] http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html#indices-update-settings On Sun, Apr 13, 2014 at 8:41 AM, Tal Shemesh <[email protected]> wrote: > Hi, > > we are facing the same issue with 0.90.11. > we have a shard that it's primary size is 1.9gb and the replica is 1gb. > did you manage to solve the problem? > if so, how can we fix it? > > > On Friday, November 16, 2012 7:21:16 PM UTC+2, Filirom1 wrote: >> >> Yes I know, but I can't change what the users inject in ElasticSearch. >> >> The point is that sometimes an inconsistent JSON is accepted by ES. >> >> >> 2012/11/16 Jörg Prante <[email protected]> >> >>> Hi Filirom1, >>> >>> if you see mapping exceptions, something in your JSON data style is >>> inconsistent, see my comment >>> https://github.com/elasticsearch/elasticsearch/issues/2354#issuecomment- >>> 10453428 >>> >>> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/86314b57-e292-491e-94ac-92a5a35b8344%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/86314b57-e292-491e-94ac-92a5a35b8344%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adrien Grand -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6ofT81ApiPMnx%2BFvogfp_sHQyqKWMmTStDWFq%2B5Cvttg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
