Well, especially if you optimize after your indexing operation, you could
easily have your index size double temporarily. The reason is that
replication moves the changed segments. When you optimize, your
entire index is re-written into a new segment and presto! your
index on the slave doubles. This is because the slave has
to keep serving requests from the old index until the new version is
ready. After warmup, the old searcher is shut down and the new
searcher takes over and the old index should be deleted.

As to why it takes so long, how long does it take to transfer 80G
outside Solr? Sounds like a slow network to me. And how much free
disk space is there on the slave? Your machine may just be having
trouble finding the space to write to...

Best
Erick

On Sat, Sep 3, 2011 at 4:58 AM, shinkanze <rajatrastogi...@gmail.com> wrote:
> hi
> every one
> i am new to solr i have a problem while indexing and replicating
> my index size is 80GB
>  indexing problem ::
> when i detlta indexed  previous index or main index was deleted all i was
> left with was delta index
> what may be the possible cause for it??
>
> replication problem :
> when i did replication on one of the slaves  it downloads twice the size of
> index and and takes forever to replicate
> It shows Estimated time left negative i.e Estimated time left - 45 seconds
> when i abort the replication at this juncture index size becomes normal and
> it shows all the new records
> like normal behaviour
>
> please ca any one explain such behaviour
>
> Thankyou
>
> Rajat
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Problem-while-replicating-solr-tp3306228p3306228.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to