Hello,
I'm facing a situation where a transaction log file keeps growing and is never
deleted.
The setup is as follow:
- Solr 8.4.1
- SolrCloud with 2 nodes
- 1 collection, 1 shard
On one of the node I can see the tlog files having the expected behavior, that
is new tlog files being created and old ones being deleted at a frequency that
matches the autocommit settings.
For instance, there is currently two files tlog.0000000000000003226 and
tlog.0000000000000003227, each of them is around 1G (size).
But on the other node, I see two files tlog.0000000000000000298 and
tlog.0000000000000000299, the later being now 20G and has been created 10 hours
ago.
It already happened a few times, restarting the server seems to make things go
right but it's obviously not a durable solution.
Do you have any idea what could cause this behavior?
solrconfig.xml:
<updateHandler class="solr.DirectUpdateHandler2">
<updateLog>
<str name="dir">${solr.ulog.dir:}</str>
<int name="numRecordsToKeep">1000</int>
<int name="maxNumLogsToKeep">100</int>
</updateLog>
<autoCommit>
<maxTime>900000</maxTime>
<openSearcher>false</openSearcher>
</autoCommit>
<autoSoftCommit>
<maxTime>180000</maxTime>
</autoSoftCommit>
</updateHandler>
Kind regards,
Gaƫl