Setup hard auto commit with openSeacher=false. I would do it at least once a 
minute. Don't worry about the commit being out of sync on the different nodes - 
you will be using soft commits for visibility. The hard commits will just be 
about relieving the pressure on the tlog.

- Mark

On Jan 10, 2013, at 6:43 AM, gadde <gadde....@gmail.com> wrote:

> we have a SolrCloud with 3 nodes. we add documents to leader node and use
> commitwithin(100secs) option in SolrJ to add documents. AutoSoftCommit in
> SolrConfig is 1000ms.
> 
> Transaction logs on replicas grew bigger than the index and we ran out of
> disk space in few days. Leader's tlogs are very small in few hundred MBs.
> 
> The following post suggest hard commit is required for "relieving the memory
> pressure of the transactionlog"
> http://lucene.472066.n3.nabble.com/SolrCloud-is-softcommit-cluster-wide-for-the-collection-td4021584.html#a4021631
> 
> what is the best way to do a hard commit on this setup in SolrCloud?
> 
> a. Through autoCommit in SolrConfig? which would cause hard commit on all
> the nodes at different times b. Trigger hard commit on leader while updating
> through SolrJ?
> 
> Thanks
> Shyam
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/SolrCloud-large-transaction-logs-tp4032160.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to