After some more searching, I found a thread online where Erick Erickson is 
telling someone about how there are old tlogs left around in case there is 
a need for a peer to sync even if SolrCloud is not enabled.  That makes 
sense, but we'll probably want to enable autoCommit and then trigger 
replication on the slaves when we know everything is committed after a full 
import.  (We disable polling.)
  
  
  

----------------------------------------
 From: "Chris Morley" <ch...@depahelix.com>
Sent: Thursday, June 16, 2016 3:20 PM
To: "Solr Newsgroup" <solr-user@lucene.apache.org>
Subject: tlogs not deleting as usual in Solr 5.5.1?   
The repetition below is on purpose to show the contrast between solr
versions.

In Solr 4.10.3, we have autocommits disabled. We do a dataimport of a few
hundred thousand records and have a tlog that grows to ~1.2G.

In Solr 5.5.1, we have autocommits disabled. We do a dataimport of a few
hundred thousand records and have a tlog that grows to ~1.6G. (same exact
data, slightly larger tlog but who knows, that's fine)

In Solr 4.10.3 tlogs ARE deleted after issuing update?commit=true.
(And deleted immediately.)

In Solr 5.5.1 tlogs ARE NOT deleted after issuing update?commit=true.

We want the tlog to delete like it did in Solr 4.10.3. Perhaps there is a
configuration setting or feature of Solr 5.5.1 that causes this?

Would appreciate any tips on configuration or code we could change to
ensure the tlog will delete after a hard commit.

 

Reply via email to