I don't know if this works for optimizing or not, but try attaching &distrib=false to the optimization request.
Hmmm, something that might be added to the UI, any admin UI guys listening? :). But I have to ask why you're optimizing anyway. Unless you have a very specific reason, it's usually better NOT to optimize.... Best, Erick On Thu, Oct 24, 2013 at 6:37 AM, michael.boom <my_sky...@yahoo.com> wrote: > Hi! > > I have a SolrCloud setup, on two servers 3 shards, replicationFactor=2. > Today I trigered the optimization on core *shard2_replica2* which only > contained 3M docs, and 2.7G. > The size of the other shards were shard3=2.7G and shard1=48G (the routing > is > implicit but after some update deadlocks and restarts the shard range in > Zookeeper got null and everything since then apparently got indexed to > shard1) > > So, half an hour after i triggered the optimization, via the Admin UI, i > noticed that used space was increasing alot on *both servers* for cores > *shard1_replica1 and shard1_replica2*. > It was now 67G and increasing. In the end after about 40 minutes from the > start operation shard1 was done optimizing on both servers leaving > shard1_replica1 and shard1_replica2 at about 33G. > > Any idea what is happening and why the core on which i wanted the > optimization to happen, got no optimization and instead another shard got > optimized, on both servers? > > > > ----- > Thanks, > Michael > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SolrCloud-optimizing-a-core-triggers-optimizations-of-all-cores-in-that-collection-tp4097499.html > Sent from the Solr - User mailing list archive at Nabble.com. >