lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <>
Subject Re: SolrCloud large transaction logs
Date Thu, 10 Jan 2013 14:18:10 GMT
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 <> 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"
> 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:
> Sent from the Solr - User mailing list archive at

View raw message