You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Webster Homer <we...@sial.com> on 2017/06/20 14:22:32 UTC

Tlogs not being deleted/truncated

We have a solr cloud collection that gets a full update every morning, via
cdcr replication. We see that the target tlogs do not seem to get truncated
or deleted as described here
https://lucidworks.com/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

I checked we have the cdcr buffer disabled.

The autoCommit is set to 10 minutes
<autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
openSearcher>false</openSearcher> </autoCommit>

According to the documentation this shouldn't be happening. How can you
tell if commits are really firing? The cores always show current = false
which seems to indicate that commits are not happening

There is a daily reload of the data that takes about 2 hours, after which I
would expect the auto commits would be cleaning up the tlogs this doesn't
seem to be happening

We are running Solr 6.2

rw-r--r-- 1 apache apache 294M Jun 12 11:40 tlog.0000000000000000082.
1569998266936852480
-rw-r--r-- 1 apache apache 347M Jun 12 11:50 tlog.0000000000000000083.
1569998387510509568
-rw-r--r-- 1 apache apache 341M Jun 12 12:00 tlog.0000000000000000084.
1569998511822340097
-rw-r--r-- 1 apache apache 336M Jun 12 12:10 tlog.0000000000000000085.
1569998630444597248
-rw-r--r-- 1 apache apache 337M Jun 12 12:20 tlog.0000000000000000086.
1569998747965849602
-rw-r--r-- 1 apache apache 336M Jun 12 12:30 tlog.0000000000000000087.
1569998869097349120
-rw-r--r-- 1 apache apache 338M Jun 12 12:40 tlog.0000000000000000088.
1569998991821635584
-rw-r--r-- 1 apache apache 336M Jun 12 12:50 tlog.0000000000000000089.
1569999120862543873
-rw-r--r-- 1 apache apache 337M Jun 12 13:00 tlog.0000000000000000090.
1569999251864289280
-rw-r--r-- 1 apache apache 341M Jun 12 13:10 tlog.0000000000000000091.
1569999388984475649
-rw-r--r-- 1 apache apache 335M Jun 12 13:20 tlog.0000000000000000092.
1569999523820863490
-rw-r--r-- 1 apache apache 338M Jun 12 13:30 tlog.0000000000000000093.
1569999646608064513
-rw-r--r-- 1 apache apache 339M Jun 12 13:40 tlog.0000000000000000094.
1569999769813647360
-rw-r--r-- 1 apache apache 321M Jun 12 13:50 tlog.0000000000000000095.
1569999894280667137
-rw-r--r-- 1 apache apache 338M Jun 12 14:00 tlog.0000000000000000096.
1570000010283581441
-rw-r--r-- 1 apache apache 337M Jun 12 14:10 tlog.0000000000000000097.
1570000129089339392
-rw-r--r-- 1 apache apache 339M Jun 12 14:20 tlog.0000000000000000098.
1570000248878661633
-rw-r--r-- 1 apache apache 339M Jun 12 14:30 tlog.0000000000000000099.
1570000369279303680
-rw-r--r-- 1 apache apache 354M Jun 12 14:40 tlog.0000000000000000100.
1570000508478816256
-rw-r--r-- 1 apache apache 336M Jun 12 14:50 tlog.0000000000000000101.
1570000624750166017
-rw-r--r-- 1 apache apache 339M Jun 12 15:00 tlog.0000000000000000102.
1570000748410830848
-rw-r--r-- 1 apache apache 355M Jun 12 15:10 tlog.0000000000000000103.
1570000871066959875
-rw-r--r-- 1 apache apache 335M Jun 12 15:20 tlog.0000000000000000104.
1570000998950240256
-rw-r--r-- 1 apache apache 336M Jun 12 15:30 tlog.0000000000000000105.
1570001121887387650
-rw-r--r-- 1 apache apache 342M Jun 12 15:40 tlog.0000000000000000106.
1570001256208924672
-rw-r--r-- 1 apache apache 335M Jun 12 15:50 tlog.0000000000000000107.
1570001389587791873
-rw-r--r-- 1 apache apache 264M Jun 12 16:00 tlog.0000000000000000108.
1570001520912498688
-rw-r--r-- 1 apache apache 330M Jun 13 11:41 tlog.0000000000000000109.
1570088922160037888
-rw-r--r-- 1 apache apache 312M Jun 13 11:51 tlog.0000000000000000110.
1570089052763324416
-rw-r--r-- 1 apache apache 335M Jun 13 12:01 tlog.0000000000000000111.
1570089163823251456
-rw-r--r-- 1 apache apache 337M Jun 13 12:11 tlog.0000000000000000112.
1570089279604916232
-rw-r--r-- 1 apache apache 337M Jun 13 12:21 tlog.0000000000000000113.
1570089396394262528
-rw-r--r-- 1 apache apache 332M Jun 13 12:31 tlog.0000000000000000114.
1570089522649104386
-rw-r--r-- 1 apache apache 336M Jun 13 12:41 tlog.0000000000000000115.
1570089646671527937
-rw-r--r-- 1 apache apache 339M Jun 13 12:51 tlog.0000000000000000116.
1570089784991285251
-rw-r--r-- 1 apache apache 335M Jun 13 13:01 tlog.0000000000000000117.
1570089912654364672
-rw-r--r-- 1 apache apache 338M Jun 13 13:11 tlog.0000000000000000118.
1570090038066151424
-rw-r--r-- 1 apache apache 333M Jun 13 13:21 tlog.0000000000000000119.
1570090169766248449
-rw-r--r-- 1 apache apache 336M Jun 13 13:31 tlog.0000000000000000120.
1570090295142383616
-rw-r--r-- 1 apache apache 329M Jun 13 13:41 tlog.0000000000000000121.
1570090421449654272
-rw-r--r-- 1 apache apache 307M Jun 13 13:51 tlog.0000000000000000122.
1570090542827569154
-rw-r--r-- 1 apache apache 339M Jun 13 14:01 tlog.0000000000000000123.
1570090650884374530
-rw-r--r-- 1 apache apache 342M Jun 13 14:11 tlog.0000000000000000124.
1570090782145118209
-rw-r--r-- 1 apache apache 342M Jun 13 14:21 tlog.0000000000000000125.
1570090919577780224
-rw-r--r-- 1 apache apache 341M Jun 13 14:31 tlog.0000000000000000126.
1570091056993665025
-rw-r--r-- 1 apache apache 354M Jun 13 14:41 tlog.0000000000000000127.
1570091185511333891
-rw-r--r-- 1 apache apache 341M Jun 13 14:51 tlog.0000000000000000128.
1570091307219550211
-rw-r--r-- 1 apache apache 335M Jun 13 15:01 tlog.0000000000000000129.
1570091430609682433
-rw-r--r-- 1 apache apache 354M Jun 13 15:11 tlog.0000000000000000130.
1570091553711456256
-rw-r--r-- 1 apache apache 340M Jun 13 15:21 tlog.0000000000000000131.
1570091679935889410
-rw-r--r-- 1 apache apache 337M Jun 13 15:31 tlog.0000000000000000132.
1570091806594433024
-rw-r--r-- 1 apache apache 335M Jun 13 15:41 tlog.0000000000000000133.
1570091928757731328
-rw-r--r-- 1 apache apache 334M Jun 13 15:51 tlog.0000000000000000134.
1570092057357189123
-rw-r--r-- 1 apache apache 343M Jun 13 16:01 tlog.0000000000000000135.
1570092201294168065
-rw-r--r-- 1 apache apache 156M Jun 13 16:11 tlog.0000000000000000136.
1570092359713030145
-rw-r--r-- 1 apache apache 332M Jun 14 11:43 tlog.0000000000000000137.
1570179678509989888
-rw-r--r-- 1 apache apache 312M Jun 14 11:53 tlog.0000000000000000138.
1570179804288778244
-rw-r--r-- 1 apache apache 334M Jun 14 12:03 tlog.0000000000000000139.
1570179914307469314
-rw-r--r-- 1 apache apache 330M Jun 14 12:13 tlog.0000000000000000140.
1570180027872444417
-rw-r--r-- 1 apache apache 334M Jun 14 12:23 tlog.0000000000000000141.
1570180143976022017
-rw-r--r-- 1 apache apache 333M Jun 14 12:33 tlog.0000000000000000142.
1570180259345596416
-rw-r--r-- 1 apache apache 340M Jun 14 12:43 tlog.0000000000000000143.
1570180380134211585
-rw-r--r-- 1 apache apache 343M Jun 14 12:53 tlog.0000000000000000144.
1570180512045072385
-rw-r--r-- 1 apache apache 338M Jun 14 13:03 tlog.0000000000000000145.
1570180636449177601
-rw-r--r-- 1 apache apache 364M Jun 14 13:13 tlog.0000000000000000146.
1570180765257302016
-rw-r--r-- 1 apache apache 339M Jun 14 13:23 tlog.0000000000000000147.
1570180894815158273
-rw-r--r-- 1 apache apache 343M Jun 14 13:33 tlog.0000000000000000148.
1570181023165054978
-rw-r--r-- 1 apache apache 350M Jun 15 14:43 tlog.0000000000000000187.
1570272543776964609
-rw-r--r-- 1 apache apache 339M Jun 15 14:53 tlog.0000000000000000188.
1570272675052388353
-rw-r--r-- 1 apache apache 347M Jun 15 15:03 tlog.0000000000000000189.
1570272803043672065
-rw-r--r-- 1 apache apache 348M Jun 15 15:13 tlog.0000000000000000190.
1570272922861305857
-rw-r--r-- 1 apache apache 341M Jun 15 15:23 tlog.0000000000000000191.
1570273044701642753
-rw-r--r-- 1 apache apache 339M Jun 15 15:33 tlog.0000000000000000192.
1570273167724773376
-rw-r--r-- 1 apache apache 342M Jun 15 15:43 tlog.0000000000000000193.
1570273287885291521
-rw-r--r-- 1 apache apache 339M Jun 15 15:53 tlog.0000000000000000194.
1570273416424980480
-rw-r--r-- 1 apache apache 342M Jun 15 16:03 tlog.0000000000000000195.
1570273565833428992
-rw-r--r-- 1 apache apache 345M Jun 15 16:13 tlog.0000000000000000196.
1570273715471515649
-rw-r--r-- 1 apache apache 340M Jun 15 16:23 tlog.0000000000000000197.
1570273842866159616
-rw-r--r-- 1 apache apache 340M Jun 15 16:33 tlog.0000000000000000198.
1570273971062964225
-rw-r--r-- 1 apache apache 340M Jun 15 16:43 tlog.0000000000000000199.
1570274102467362816
-rw-r--r-- 1 apache apache 340M Jun 15 16:53 tlog.0000000000000000200.
1570274251744739328
-rw-r--r-- 1 apache apache 339M Jun 15 17:03 tlog.0000000000000000201.
1570274384063496193
-rw-r--r-- 1 apache apache 339M Jun 15 17:13 tlog.0000000000000000202.
1570274518247669765
-rw-r--r-- 1 apache apache 340M Jun 15 17:23 tlog.0000000000000000203.
1570274652498952192
-rw-r--r-- 1 apache apache 336M Jun 15 17:33 tlog.0000000000000000204.
1570274781412982785
-rw-r--r-- 1 apache apache 300M Jun 15 17:43 tlog.0000000000000000205.
1570274907584987136
-rw-r--r-- 1 apache apache 163M Jun 16 11:43 tlog.0000000000000000206.
1570360855149674496
-rw-r--r-- 1 apache apache 294M Jun 19 11:42 tlog.0000000000000000207.
1570632564662599680
-rw-r--r-- 1 apache apache 350M Jun 19 11:52 tlog.0000000000000000208.
1570632675203481600
-rw-r--r-- 1 apache apache 341M Jun 19 12:02 tlog.0000000000000000209.
1570632782571372544
-rw-r--r-- 1 apache apache 336M Jun 19 12:12 tlog.0000000000000000210.
1570632886154952706
-rw-r--r-- 1 apache apache 339M Jun 19 12:22 tlog.0000000000000000211.
1570632992137674754
-rw-r--r-- 1 apache apache 336M Jun 19 12:32 tlog.0000000000000000212.
1570633103262613505
-rw-r--r-- 1 apache apache 341M Jun 19 12:42 tlog.0000000000000000213.
1570633212055519233
-rw-r--r-- 1 apache apache 341M Jun 19 12:52 tlog.0000000000000000214.
1570633334366666752
-rw-r--r-- 1 apache apache 344M Jun 19 13:02 tlog.0000000000000000215.
1570633444512235520
-rw-r--r-- 1 apache apache 364M Jun 19 13:12 tlog.0000000000000000216.
1570633559541022722
-rw-r--r-- 1 apache apache 334M Jun 19 13:22 tlog.0000000000000000217.
1570633678830174208
-rw-r--r-- 1 apache apache 341M Jun 19 13:32 tlog.0000000000000000218.
1570633796799168513
-rw-r--r-- 1 apache apache 339M Jun 19 13:42 tlog.0000000000000000219.
1570633915684618240
-rw-r--r-- 1 apache apache 320M Jun 19 13:52 tlog.0000000000000000220.
1570634032865083393
-rw-r--r-- 1 apache apache 351M Jun 19 14:02 tlog.0000000000000000221.
1570634135575199745
-rw-r--r-- 1 apache apache 338M Jun 19 14:12 tlog.0000000000000000222.
1570634250321920001
-rw-r--r-- 1 apache apache 344M Jun 19 14:22 tlog.0000000000000000223.
1570634365979852803
-rw-r--r-- 1 apache apache 343M Jun 19 14:32 tlog.0000000000000000224.
1570634471661633536
-rw-r--r-- 1 apache apache 351M Jun 19 14:42 tlog.0000000000000000225.
1570634597027282945
-rw-r--r-- 1 apache apache 340M Jun 19 14:52 tlog.0000000000000000226.
1570634711229792256
-rw-r--r-- 1 apache apache 349M Jun 19 15:02 tlog.0000000000000000227.
1570634815023087616
-rw-r--r-- 1 apache apache 348M Jun 19 15:12 tlog.0000000000000000228.
1570634922535682050
-rw-r--r-- 1 apache apache 330M Jun 19 15:22 tlog.0000000000000000229.
1570635022745993218
-rw-r--r-- 1 apache apache 332M Jun 19 15:32 tlog.0000000000000000230.
1570635137936261120
-rw-r--r-- 1 apache apache 344M Jun 19 15:42 tlog.0000000000000000231.
1570635246269890560
-rw-r--r-- 1 apache apache 338M Jun 19 15:52 tlog.0000000000000000232.
1570635354965278720
-rw-r--r-- 1 apache apache 341M Jun 19 16:02 tlog.0000000000000000233.
1570635478030352385
-rw-r--r-- 1 apache apache 346M Jun 19 16:12 tlog.0000000000000000234.
1570635608948211713
-rw-r--r-- 1 apache apache 278M Jun 19 16:22 tlog.0000000000000000235.
1570635723383504897

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Erick Erickson <er...@gmail.com>.
Anyway, when commit N happens, only then are the earlier tlogs examined to
see whether they should be deleted. So yo have an interval of _at least_ 20
minutes where you'll have old tlogs hanging around. And that's not
even considering
CDCR.

I have noticed that tlogs can get cleared only after "a while" with
CDCR, and this
assumes that buffering is turned off on the source. With buffering on they'll
accumulate forever.

What I'm saying is that I've seen CDCR take quite a while to clean out old
tlogs, and with a 10 minute interval it may take quite a while.

that said, there's no good reason to have long hard commit intervals
for a variety of reasons, not the least of which is that if Solr is killed
for some reason, on restart it can replay all the unclosed-at-the-time-of-kill
updates, s your Solr node can take 10 minutes to come back up in that case.
See: https://lucidworks.com/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/
And if setting them to 60 seconds makes everyone happy I'd stick with that.
In fact I often just set them to 15 seconds. All that's hapening with
openSearcher set to false is that you're opening about 15 new files and
closing that many other ones. Any efficiency savings is not worth the
risk

Best,
Erick



On Fri, Aug 18, 2017 at 11:06 AM, Webster Homer <we...@sial.com> wrote:
> I have an update on this. While I was on vacation, there were a number of
> alerts.
> Our autoCommit settings were (and are) the following:
>      <autoCommit>
>       <maxTime>${solr.autoCommit.maxTime:600000}</maxTime>
>        <openSearcher>false</openSearcher>
>      </autoCommit>
>
> The startup script was NOT setting solr.autoCommit.maxTime. It seemed that
> autoCommits were sporadic at best. Our autoSoftCommit was working.
> Our admistrators changed the Solr startup script to set
> solr.autoCommit.maxTime. Which they set as follows, i the script.
> SOLR_OPTS="$SOLR_OPTS -Dsolr.autoCommit.maxTime=60000"
>
> They claim that this has fixed our tlog problems across the board. Commits
> appear to be reliable now. As a developer I don't have visibility into our
> production systems. I find it odd that explicitly setting the value in the
> solr startup fixed the issue. We had wanted to have this value determined
> peer collection but it does seem to address the problem.
>
> This seems like a bug in solr to have it behave like this!
>
> We are running Solr 6.2.0 with our production systems in Google Cloud We
> use cdcr to replicate from our on prem systems to the Google Cloud
>
>
>
>
>
> On Wed, Jul 12, 2017 at 9:19 AM, Webster Homer <we...@sial.com>
> wrote:
>
>> We have buffers disabled as described in the CDCR documentation. We also
>> have autoCommit set for hard commits, but openSearcher false. We also have
>> autoSoftCommit set.
>>
>>
>> On Tue, Jul 11, 2017 at 5:00 PM, Xie, Sean <Se...@finra.org> wrote:
>>
>>> Please see my previous thread. I have to disable buffer on source cluster
>>> and a scheduled hard commit with scheduled logscheduler to make it work.
>>>
>>>
>>> -- Thank you
>>> Sean
>>>
>>> From: jmyatt <jm...@wayfair.com>>
>>> Date: Tuesday, Jul 11, 2017, 1:56 PM
>>> To: solr-user@lucene.apache.org <solr-user@lucene.apache.org<mailto:
>>> solr-user@lucene.apache.org>>
>>> Subject: [EXTERNAL] Re: Tlogs not being deleted/truncated
>>>
>>> another interesting clue in my case (different from what WebsterHomer is
>>> seeing): the response from /cdcr?action=QUEUES reflects what I would
>>> expect
>>> to see in the tlog directory but it's not accurate.  By that I mean
>>> tlogTotalSize shows 1500271 (bytes) and tlogTotalCount shows 2.  This
>>> changes as more updates come in and autoCommit runs - sometimes
>>> tlogTotalCount is 1 instead of 2, and the tlogTotalSize changes but stays
>>> in
>>> that low range.
>>>
>>> But on the filesystem, all the tlogs are still there.  Perhaps the ignored
>>> exception noted above is in fact a problem?
>>>
>>>
>>>
>>> --
>>> View this message in context: http://lucene.472066.n3.nabble
>>> .com/Tlogs-not-being-deleted-truncated-tp4341958p4345477.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>> Confidentiality Notice::  This email, including attachments, may include
>>> non-public, proprietary, confidential or legally privileged information.
>>> If you are not an intended recipient or an authorized agent of an intended
>>> recipient, you are hereby notified that any dissemination, distribution or
>>> copying of the information contained in or transmitted with this e-mail is
>>> unauthorized and strictly prohibited.  If you have received this email in
>>> error, please notify the sender by replying to this message and permanently
>>> delete this e-mail, its attachments, and any copies of it immediately.  You
>>> should not retain, copy or use this e-mail or any attachment for any
>>> purpose, nor disclose all or any part of the contents to any other person.
>>> Thank you.
>>>
>>
>>
>
> --
>
>
> This message and any attachment are confidential and may be privileged or
> otherwise protected from disclosure. If you are not the intended recipient,
> you must not copy this message or attachment or disclose the contents to
> any other person. If you have received this transmission in error, please
> notify the sender immediately and delete the message and any attachment
> from your system. Merck KGaA, Darmstadt, Germany and any of its
> subsidiaries do not accept liability for any omissions or errors in this
> message which may arise as a result of E-Mail-transmission or for damages
> resulting from any unauthorized changes of the content of this message and
> any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
> subsidiaries do not guarantee that this message is free of viruses and does
> not accept liability for any damages caused by any virus transmitted
> therewith.
>
> Click http://www.emdgroup.com/disclaimer to access the German, French,
> Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
I have an update on this. While I was on vacation, there were a number of
alerts.
Our autoCommit settings were (and are) the following:
     <autoCommit>
      <maxTime>${solr.autoCommit.maxTime:600000}</maxTime>
       <openSearcher>false</openSearcher>
     </autoCommit>

The startup script was NOT setting solr.autoCommit.maxTime. It seemed that
autoCommits were sporadic at best. Our autoSoftCommit was working.
Our admistrators changed the Solr startup script to set
solr.autoCommit.maxTime. Which they set as follows, i the script.
SOLR_OPTS="$SOLR_OPTS -Dsolr.autoCommit.maxTime=60000"

They claim that this has fixed our tlog problems across the board. Commits
appear to be reliable now. As a developer I don't have visibility into our
production systems. I find it odd that explicitly setting the value in the
solr startup fixed the issue. We had wanted to have this value determined
peer collection but it does seem to address the problem.

This seems like a bug in solr to have it behave like this!

We are running Solr 6.2.0 with our production systems in Google Cloud We
use cdcr to replicate from our on prem systems to the Google Cloud





On Wed, Jul 12, 2017 at 9:19 AM, Webster Homer <we...@sial.com>
wrote:

> We have buffers disabled as described in the CDCR documentation. We also
> have autoCommit set for hard commits, but openSearcher false. We also have
> autoSoftCommit set.
>
>
> On Tue, Jul 11, 2017 at 5:00 PM, Xie, Sean <Se...@finra.org> wrote:
>
>> Please see my previous thread. I have to disable buffer on source cluster
>> and a scheduled hard commit with scheduled logscheduler to make it work.
>>
>>
>> -- Thank you
>> Sean
>>
>> From: jmyatt <jm...@wayfair.com>>
>> Date: Tuesday, Jul 11, 2017, 1:56 PM
>> To: solr-user@lucene.apache.org <solr-user@lucene.apache.org<mailto:
>> solr-user@lucene.apache.org>>
>> Subject: [EXTERNAL] Re: Tlogs not being deleted/truncated
>>
>> another interesting clue in my case (different from what WebsterHomer is
>> seeing): the response from /cdcr?action=QUEUES reflects what I would
>> expect
>> to see in the tlog directory but it's not accurate.  By that I mean
>> tlogTotalSize shows 1500271 (bytes) and tlogTotalCount shows 2.  This
>> changes as more updates come in and autoCommit runs - sometimes
>> tlogTotalCount is 1 instead of 2, and the tlogTotalSize changes but stays
>> in
>> that low range.
>>
>> But on the filesystem, all the tlogs are still there.  Perhaps the ignored
>> exception noted above is in fact a problem?
>>
>>
>>
>> --
>> View this message in context: http://lucene.472066.n3.nabble
>> .com/Tlogs-not-being-deleted-truncated-tp4341958p4345477.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>> Confidentiality Notice::  This email, including attachments, may include
>> non-public, proprietary, confidential or legally privileged information.
>> If you are not an intended recipient or an authorized agent of an intended
>> recipient, you are hereby notified that any dissemination, distribution or
>> copying of the information contained in or transmitted with this e-mail is
>> unauthorized and strictly prohibited.  If you have received this email in
>> error, please notify the sender by replying to this message and permanently
>> delete this e-mail, its attachments, and any copies of it immediately.  You
>> should not retain, copy or use this e-mail or any attachment for any
>> purpose, nor disclose all or any part of the contents to any other person.
>> Thank you.
>>
>
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
We have buffers disabled as described in the CDCR documentation. We also
have autoCommit set for hard commits, but openSearcher false. We also have
autoSoftCommit set.


On Tue, Jul 11, 2017 at 5:00 PM, Xie, Sean <Se...@finra.org> wrote:

> Please see my previous thread. I have to disable buffer on source cluster
> and a scheduled hard commit with scheduled logscheduler to make it work.
>
>
> -- Thank you
> Sean
>
> From: jmyatt <jm...@wayfair.com>>
> Date: Tuesday, Jul 11, 2017, 1:56 PM
> To: solr-user@lucene.apache.org <solr-user@lucene.apache.org<mailto:
> solr-user@lucene.apache.org>>
> Subject: [EXTERNAL] Re: Tlogs not being deleted/truncated
>
> another interesting clue in my case (different from what WebsterHomer is
> seeing): the response from /cdcr?action=QUEUES reflects what I would expect
> to see in the tlog directory but it's not accurate.  By that I mean
> tlogTotalSize shows 1500271 (bytes) and tlogTotalCount shows 2.  This
> changes as more updates come in and autoCommit runs - sometimes
> tlogTotalCount is 1 instead of 2, and the tlogTotalSize changes but stays
> in
> that low range.
>
> But on the filesystem, all the tlogs are still there.  Perhaps the ignored
> exception noted above is in fact a problem?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/Tlogs-not-being-deleted-truncated-tp4341958p4345477.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
> Confidentiality Notice::  This email, including attachments, may include
> non-public, proprietary, confidential or legally privileged information.
> If you are not an intended recipient or an authorized agent of an intended
> recipient, you are hereby notified that any dissemination, distribution or
> copying of the information contained in or transmitted with this e-mail is
> unauthorized and strictly prohibited.  If you have received this email in
> error, please notify the sender by replying to this message and permanently
> delete this e-mail, its attachments, and any copies of it immediately.  You
> should not retain, copy or use this e-mail or any attachment for any
> purpose, nor disclose all or any part of the contents to any other person.
> Thank you.
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by "Xie, Sean" <Se...@finra.org>.
Please see my previous thread. I have to disable buffer on source cluster and a scheduled hard commit with scheduled logscheduler to make it work.


-- Thank you
Sean

From: jmyatt <jm...@wayfair.com>>
Date: Tuesday, Jul 11, 2017, 1:56 PM
To: solr-user@lucene.apache.org <so...@lucene.apache.org>>
Subject: [EXTERNAL] Re: Tlogs not being deleted/truncated

another interesting clue in my case (different from what WebsterHomer is
seeing): the response from /cdcr?action=QUEUES reflects what I would expect
to see in the tlog directory but it's not accurate.  By that I mean
tlogTotalSize shows 1500271 (bytes) and tlogTotalCount shows 2.  This
changes as more updates come in and autoCommit runs - sometimes
tlogTotalCount is 1 instead of 2, and the tlogTotalSize changes but stays in
that low range.

But on the filesystem, all the tlogs are still there.  Perhaps the ignored
exception noted above is in fact a problem?



--
View this message in context: http://lucene.472066.n3.nabble.com/Tlogs-not-being-deleted-truncated-tp4341958p4345477.html
Sent from the Solr - User mailing list archive at Nabble.com.

Confidentiality Notice::  This email, including attachments, may include non-public, proprietary, confidential or legally privileged information.  If you are not an intended recipient or an authorized agent of an intended recipient, you are hereby notified that any dissemination, distribution or copying of the information contained in or transmitted with this e-mail is unauthorized and strictly prohibited.  If you have received this email in error, please notify the sender by replying to this message and permanently delete this e-mail, its attachments, and any copies of it immediately.  You should not retain, copy or use this e-mail or any attachment for any purpose, nor disclose all or any part of the contents to any other person. Thank you.

Re: Tlogs not being deleted/truncated

Posted by jmyatt <jm...@wayfair.com>.
another interesting clue in my case (different from what WebsterHomer is
seeing): the response from /cdcr?action=QUEUES reflects what I would expect
to see in the tlog directory but it's not accurate.  By that I mean
tlogTotalSize shows 1500271 (bytes) and tlogTotalCount shows 2.  This
changes as more updates come in and autoCommit runs - sometimes
tlogTotalCount is 1 instead of 2, and the tlogTotalSize changes but stays in
that low range.  

But on the filesystem, all the tlogs are still there.  Perhaps the ignored
exception noted above is in fact a problem?



--
View this message in context: http://lucene.472066.n3.nabble.com/Tlogs-not-being-deleted-truncated-tp4341958p4345477.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Tlogs not being deleted/truncated

Posted by jmyatt <jm...@wayfair.com>.
Have you found a solution to this?  I'm seeing the same behavior (running
solr v6.5.0):

- source data center replicates to target just fine
- autocommit on Source with openSearcher=false causes tlogs to rollover at a
reasonable size
- a post-import explicit commit (with the default openSearcher=true) causes
docs to be visible on Source
- autocommit on Target with openSearcher=true (and a higher maxTime /
maxDocs) causes tlogs to roll eventually and docs to become visible without
any need for a final explicit commit
- tlogs on Target clean up (get deleted) just fine, after each hard commit
- *tlogs on Source are never deleted and I can't figure out why*
 
I've tried this with the cdcr buffer both enabled and disabled, and tried it
with DataImportHandler imports as well as SolrJ posts of updates.  I can't
find any combination of settings that causes tlogs on the Source cluster to
be cleaned up.  Any ideas on how to manage this other than implement a
manual log deletion routine on the filesystem?



--
View this message in context: http://lucene.472066.n3.nabble.com/Tlogs-not-being-deleted-truncated-tp4341958p4345473.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
I don't think that this is part of the problem, but it's bad practice.
Looking at the source code for TransactionLog I noticed this, it's very bad
form:
      if (deleteOnClose) {
        try {
          Files.deleteIfExists(tlogFile.toPath());
        } catch (IOException e) {
          // TODO: should this class care if a file couldnt be deleted?
          // this just emulates previous behavior, where only
SecurityException would be handled.
        }
      }
This code should at least write a warning message to the log. Eating
exceptions is rarely OK especially if the author wasn't certain what to do
in this situation

On Wed, Jun 28, 2017 at 3:14 PM, Webster Homer <we...@sial.com>
wrote:

> Sometimes there are subdirectories of tlog files for example this is a
> directory name tlog.20170624124859032 Why do these come into existence?
> The sum of the file sizes in the folders seem close to the value returned
> by the CDCR action=QUEUES
>
> On Tue, Jun 27, 2017 at 4:05 PM, Webster Homer <we...@sial.com>
> wrote:
>
>> We also have the same collections in our development and QA environments.
>> In our Dev environment which is not using CDCR replication, but does have
>> autoCommit set, we have 440 tlog files. The only difference in the
>> configuration is that dev doesn't have the cdcr request handler configured.
>> It does have the solr.CdCrUpdateLog set.
>>
>>     <updateLog class="solr.CdcrUpdateLog">
>>       <str name="dir">${solr.ulog.dir:}</str>
>>     </updateLog>
>>
>>
>> On Tue, Jun 27, 2017 at 3:11 PM, Webster Homer <we...@sial.com>
>> wrote:
>>
>>> It appears right how that we are  not seeing an issue with the target
>>> collections, we definitely see a problem with the source collection.
>>> numRecordsToKeep and maxNumLogsToKeep are set to the default values of
>>> 100 and 10 respectively. We probably don't need 10 tlog files around.
>>>
>>>
>>> On Tue, Jun 27, 2017 at 11:32 AM, Webster Homer <we...@sial.com>
>>> wrote:
>>>
>>>> Commits were definitely not happening. We ran out of filesystem space.
>>>> The admins deleted old tlogs and restartd. The collection in question was
>>>> missing a lot of data. We reloaded it, and then we saw some commits. In
>>>> Solrcloud they look like this:
>>>> 2017-06-23 17:28:06.441 INFO  (commitScheduler-56-thread-1)
>>>> [c:sial-content-citations s:shard1 r:core_node2
>>>> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
>>>> start commit{,optimize=false,openSearcher=true,waitSearcher=true,e
>>>> xpungeDeletes=false,softCommit=true,prepareCommit=false}
>>>> 2017-06-23 17:28:07.823 INFO  (commitScheduler-56-thread-1)
>>>> [c:sial-content-citations s:shard1 r:core_node2
>>>> x:sial-content-citations_shard1_replica1] o.a.s.s.SolrIndexSearcher
>>>> Opening [Searcher@1c6a3bf1[sial-content-citations_shard1_replica1]
>>>> main]
>>>> 2017-06-23 17:28:07.824 INFO  (commitScheduler-56-thread-1)
>>>> [c:sial-content-citations s:shard1 r:core_node2
>>>> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
>>>> end_commit_flush
>>>> 2017-06-23 17:28:49.665 INFO  (commitScheduler-66-thread-1)
>>>> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
>>>> o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSea
>>>> rcher=false,waitSearcher=true,expungeDeletes=false,softCommi
>>>> t=false,prepareCommit=false}
>>>> 2017-06-23 17:28:49.742 INFO  (commitScheduler-66-thread-1)
>>>> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
>>>> o.a.s.c.SolrDeletionPolicy SolrDeletionPolicy.onCommit: commits: num=2
>>>> commit{dir=NRTCachingDirectory(MMapDirectory@/var/solr/data/
>>>> ehs-catalog-qmdoc_shard2_replica1/data/index
>>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@597830aa;
>>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_2gb,generation=3179}
>>>>
>>>> I have been busy and couldn't get back to this issue until now. The
>>>> problem started happening again. I manually sent a commit and that seemed
>>>> to help for a time. Unfortunately I don't have access to our Production
>>>> solrs. we use logstash for the logs, but not all logs were being captured,
>>>> the commit messages above were not.
>>>>
>>>>
>>>> On Tue, Jun 20, 2017 at 5:34 PM, Erick Erickson <
>>>> erickerickson@gmail.com> wrote:
>>>>
>>>>> bq: Neither in our source collection nor in our target collections.
>>>>>
>>>>> Hmmm. You should see messages similar to the following which I just
>>>>> generated on Solr 6.2 (stand-alone I admit but that code should be the
>>>>> same):
>>>>>
>>>>> INFO  - 2017-06-20 21:11:55.424; [   x:techproducts]
>>>>> org.apache.solr.update.DirectUpdateHandler2; start
>>>>> commit{,optimize=false,openSearcher=false,waitSearcher=true,
>>>>> expungeDeletes=false,softCommit=false,prepareCommit=false}
>>>>>
>>>>> INFO  - 2017-06-20 21:11:55.425; [   x:techproducts]
>>>>> org.apache.solr.update.SolrIndexWriter; Calling setCommitData with
>>>>> IW:org.apache.solr.update.SolrIndexWriter@4862d97c
>>>>>
>>>>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>>>>> org.apache.solr.core.SolrDeletionPolicy; SolrDeletionPolicy.onCommit:
>>>>> commits: num=2
>>>>>
>>>>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>>>>> ache/solrVersions/playspace/solr/example/techproducts/solr/t
>>>>> echproducts/data/index
>>>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>>>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c,generation=12}
>>>>>
>>>>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>>>>> ache/solrVersions/playspace/solr/example/techproducts/solr/t
>>>>> echproducts/data/index
>>>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>>>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_d,generation=13}
>>>>>
>>>>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>>>>> org.apache.solr.core.SolrDeletionPolicy; newest commit generation = 13
>>>>>
>>>>> INFO  - 2017-06-20 21:11:55.668; [   x:techproducts]
>>>>> org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
>>>>>
>>>>> whenever commits kick in.
>>>>>
>>>>> So how sure are you of your autocommit settings? Is there any chance
>>>>> the sysvar "solr.autoCommit.maxTime" is somehow being set to -1?
>>>>> Unlikely frankly since you have multiple tlogs.
>>>>>
>>>>> Another possibility is that somehow you've changed the number of docs
>>>>> to keep in the transaction logs and the number of transaction logs
>>>>> through:
>>>>> numRecordsToKeep
>>>>> and
>>>>> maxNumLogsToKeep
>>>>>
>>>>> And you'll note that the tlogs stat at 000000082, which means many
>>>>> have been deleted. Does the minimum number keep going up? If that's
>>>>> the case tlogs _are_ being rolled over, just not very often. Why is a
>>>>> mystery of course.
>>>>>
>>>>> So what happens if you issue manual commits on both source and target?
>>>>>
>>>>> It's unlikely that autocommit is totally broken or we'd have heard
>>>>> howls almost immediately. That said the behavior you report is
>>>>> disturbing
>>>>>
>>>>> Best,
>>>>> Erick
>>>>>
>>>>>
>>>>> On Tue, Jun 20, 2017 at 1:37 PM, Webster Homer <we...@sial.com>
>>>>> wrote:
>>>>> > Yes, soft commits are irrelevant for this. What is relevant about
>>>>> soft
>>>>> > commits is that we can search the data.
>>>>> >
>>>>> > We have autoCommit set to 10 minutes and never see tlogs truncated.
>>>>> > Apparently autoCommit doesn't fire, ever.
>>>>> > Neither in our source collection nor in our target collections. The
>>>>> more I
>>>>> > look at this the more I believe it's a solr bug, and a very serious
>>>>> one.
>>>>> > Our ETL jobs don't issue commits as they expect that the autoCommit
>>>>> will
>>>>> > work.
>>>>> >
>>>>> > If autoCommit doesn't work how will cdcr target collections ever get
>>>>> a hard
>>>>> > commit?
>>>>> >
>>>>> > So how can I determine if the commit occurred? It would be nice if
>>>>> the
>>>>> > commit logged a message, I don't see such a message but I don't know
>>>>> what
>>>>> > to look for
>>>>> >
>>>>> > 2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:
>>>>> >
>>>>> >> Maybe irrelevant, but soft commits don't truncate transaction logs,
>>>>> >> only hard commits do (openSearcher true|false doesn't matter).
>>>>> >>
>>>>> >> Full background here:
>>>>> >> https://lucidworks.com/2013/08/23/understanding-
>>>>> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>>>> >>
>>>>> >> Not entirely sure how that interacts with CDCR mind you..
>>>>> >>
>>>>> >> Best,
>>>>> >> Erick
>>>>> >>
>>>>> >> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
>>>>> >> > :Looking at our cdcr source collection, it too doesn't look like
>>>>> a commit
>>>>> >> > occurred, so I sent one manually.
>>>>> >> > From this I believe that autoCommit isn't working in Solr 6.2
>>>>> >> >
>>>>> >> > Our ETL doesn't send commits, we rely upon autoCommit, and for
>>>>> CDCR you
>>>>> >> > have to have autoCommit. We also have autoSoftCommit set. That
>>>>> seems to
>>>>> >> > work as the data is searchable.
>>>>> >> >
>>>>> >> > Does the commit write a message to the log? How can you tell when
>>>>> a
>>>>> >> commit
>>>>> >> > occurs? As stated above I believe that autoCommit is broken
>>>>> >> >
>>>>> >> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
>>>>> >> >
>>>>> >> >> We have a solr cloud collection that gets a full update every
>>>>> morning,
>>>>> >> via
>>>>> >> >> cdcr replication. We see that the target tlogs do not seem to get
>>>>> >> truncated
>>>>> >> >> or deleted as described here
>>>>> >> >> https://lucidworks.com/2013/08/23/understanding-
>>>>> >> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>>>> >> >>
>>>>> >> >> I checked we have the cdcr buffer disabled.
>>>>> >> >>
>>>>> >> >> The autoCommit is set to 10 minutes
>>>>> >> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime>
>>>>> <
>>>>> >> >> openSearcher>false</openSearcher> </autoCommit>
>>>>> >> >>
>>>>> >> >> According to the documentation this shouldn't be happening. How
>>>>> can you
>>>>> >> >> tell if commits are really firing? The cores always show current
>>>>> = false
>>>>> >> >> which seems to indicate that commits are not happening
>>>>> >> >>
>>>>> >> >> There is a daily reload of the data that takes about 2 hours,
>>>>> after
>>>>> >> which
>>>>> >> >> I would expect the auto commits would be cleaning up the tlogs
>>>>> this
>>>>> >> doesn't
>>>>> >> >> seem to be happening
>>>>> >> >>
>>>>> >> >> We are running Solr 6.2
>>>>> >> >>
>>>>> >> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
>>>>> >> tlog.0000000000000000082.15699
>>>>> >> >> 98266936852480
>>>>> >> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
>>>>> >> tlog.0000000000000000083.15699
>>>>> >> >> 98387510509568
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
>>>>> >> tlog.0000000000000000084.15699
>>>>> >> >> 98511822340097
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
>>>>> >> tlog.0000000000000000085.15699
>>>>> >> >> 98630444597248
>>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
>>>>> >> tlog.0000000000000000086.15699
>>>>> >> >> 98747965849602
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
>>>>> >> tlog.0000000000000000087.15699
>>>>> >> >> 98869097349120
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
>>>>> >> tlog.0000000000000000088.15699
>>>>> >> >> 98991821635584
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
>>>>> >> tlog.0000000000000000089.15699
>>>>> >> >> 99120862543873
>>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
>>>>> >> tlog.0000000000000000090.15699
>>>>> >> >> 99251864289280
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
>>>>> >> tlog.0000000000000000091.15699
>>>>> >> >> 99388984475649
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
>>>>> >> tlog.0000000000000000092.15699
>>>>> >> >> 99523820863490
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
>>>>> >> tlog.0000000000000000093.15699
>>>>> >> >> 99646608064513
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
>>>>> >> tlog.0000000000000000094.15699
>>>>> >> >> 99769813647360
>>>>> >> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
>>>>> >> tlog.0000000000000000095.15699
>>>>> >> >> 99894280667137
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
>>>>> >> tlog.0000000000000000096.15700
>>>>> >> >> 00010283581441
>>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
>>>>> >> tlog.0000000000000000097.15700
>>>>> >> >> 00129089339392
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
>>>>> >> tlog.0000000000000000098.15700
>>>>> >> >> 00248878661633
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
>>>>> >> tlog.0000000000000000099.15700
>>>>> >> >> 00369279303680
>>>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
>>>>> >> tlog.0000000000000000100.15700
>>>>> >> >> 00508478816256
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
>>>>> >> tlog.0000000000000000101.15700
>>>>> >> >> 00624750166017
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
>>>>> >> tlog.0000000000000000102.15700
>>>>> >> >> 00748410830848
>>>>> >> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
>>>>> >> tlog.0000000000000000103.15700
>>>>> >> >> 00871066959875
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
>>>>> >> tlog.0000000000000000104.15700
>>>>> >> >> 00998950240256
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
>>>>> >> tlog.0000000000000000105.15700
>>>>> >> >> 01121887387650
>>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
>>>>> >> tlog.0000000000000000106.15700
>>>>> >> >> 01256208924672
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
>>>>> >> tlog.0000000000000000107.15700
>>>>> >> >> 01389587791873
>>>>> >> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
>>>>> >> tlog.0000000000000000108.15700
>>>>> >> >> 01520912498688
>>>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
>>>>> >> tlog.0000000000000000109.15700
>>>>> >> >> 88922160037888
>>>>> >> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
>>>>> >> tlog.0000000000000000110.15700
>>>>> >> >> 89052763324416
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
>>>>> >> tlog.0000000000000000111.15700
>>>>> >> >> 89163823251456
>>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
>>>>> >> tlog.0000000000000000112.15700
>>>>> >> >> 89279604916232
>>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
>>>>> >> tlog.0000000000000000113.15700
>>>>> >> >> 89396394262528
>>>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
>>>>> >> tlog.0000000000000000114.15700
>>>>> >> >> 89522649104386
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
>>>>> >> tlog.0000000000000000115.15700
>>>>> >> >> 89646671527937
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
>>>>> >> tlog.0000000000000000116.15700
>>>>> >> >> 89784991285251
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
>>>>> >> tlog.0000000000000000117.15700
>>>>> >> >> 89912654364672
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
>>>>> >> tlog.0000000000000000118.15700
>>>>> >> >> 90038066151424
>>>>> >> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
>>>>> >> tlog.0000000000000000119.15700
>>>>> >> >> 90169766248449
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
>>>>> >> tlog.0000000000000000120.15700
>>>>> >> >> 90295142383616
>>>>> >> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
>>>>> >> tlog.0000000000000000121.15700
>>>>> >> >> 90421449654272
>>>>> >> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
>>>>> >> tlog.0000000000000000122.15700
>>>>> >> >> 90542827569154
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
>>>>> >> tlog.0000000000000000123.15700
>>>>> >> >> 90650884374530
>>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
>>>>> >> tlog.0000000000000000124.15700
>>>>> >> >> 90782145118209
>>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
>>>>> >> tlog.0000000000000000125.15700
>>>>> >> >> 90919577780224
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
>>>>> >> tlog.0000000000000000126.15700
>>>>> >> >> 91056993665025
>>>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
>>>>> >> tlog.0000000000000000127.15700
>>>>> >> >> 91185511333891
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
>>>>> >> tlog.0000000000000000128.15700
>>>>> >> >> 91307219550211
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
>>>>> >> tlog.0000000000000000129.15700
>>>>> >> >> 91430609682433
>>>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
>>>>> >> tlog.0000000000000000130.15700
>>>>> >> >> 91553711456256
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
>>>>> >> tlog.0000000000000000131.15700
>>>>> >> >> 91679935889410
>>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
>>>>> >> tlog.0000000000000000132.15700
>>>>> >> >> 91806594433024
>>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
>>>>> >> tlog.0000000000000000133.15700
>>>>> >> >> 91928757731328
>>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
>>>>> >> tlog.0000000000000000134.15700
>>>>> >> >> 92057357189123
>>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
>>>>> >> tlog.0000000000000000135.15700
>>>>> >> >> 92201294168065
>>>>> >> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
>>>>> >> tlog.0000000000000000136.15700
>>>>> >> >> 92359713030145
>>>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
>>>>> >> tlog.0000000000000000137.15701
>>>>> >> >> 79678509989888
>>>>> >> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
>>>>> >> tlog.0000000000000000138.15701
>>>>> >> >> 79804288778244
>>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
>>>>> >> tlog.0000000000000000139.15701
>>>>> >> >> 79914307469314
>>>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
>>>>> >> tlog.0000000000000000140.15701
>>>>> >> >> 80027872444417
>>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
>>>>> >> tlog.0000000000000000141.15701
>>>>> >> >> 80143976022017
>>>>> >> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
>>>>> >> tlog.0000000000000000142.15701
>>>>> >> >> 80259345596416
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
>>>>> >> tlog.0000000000000000143.15701
>>>>> >> >> 80380134211585
>>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
>>>>> >> tlog.0000000000000000144.15701
>>>>> >> >> 80512045072385
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
>>>>> >> tlog.0000000000000000145.15701
>>>>> >> >> 80636449177601
>>>>> >> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
>>>>> >> tlog.0000000000000000146.15701
>>>>> >> >> 80765257302016
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
>>>>> >> tlog.0000000000000000147.15701
>>>>> >> >> 80894815158273
>>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
>>>>> >> tlog.0000000000000000148.15701
>>>>> >> >> 81023165054978
>>>>> >> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
>>>>> >> tlog.0000000000000000187.15702
>>>>> >> >> 72543776964609
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
>>>>> >> tlog.0000000000000000188.15702
>>>>> >> >> 72675052388353
>>>>> >> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
>>>>> >> tlog.0000000000000000189.15702
>>>>> >> >> 72803043672065
>>>>> >> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
>>>>> >> tlog.0000000000000000190.15702
>>>>> >> >> 72922861305857
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
>>>>> >> tlog.0000000000000000191.15702
>>>>> >> >> 73044701642753
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
>>>>> >> tlog.0000000000000000192.15702
>>>>> >> >> 73167724773376
>>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
>>>>> >> tlog.0000000000000000193.15702
>>>>> >> >> 73287885291521
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
>>>>> >> tlog.0000000000000000194.15702
>>>>> >> >> 73416424980480
>>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
>>>>> >> tlog.0000000000000000195.15702
>>>>> >> >> 73565833428992
>>>>> >> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
>>>>> >> tlog.0000000000000000196.15702
>>>>> >> >> 73715471515649
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
>>>>> >> tlog.0000000000000000197.15702
>>>>> >> >> 73842866159616
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
>>>>> >> tlog.0000000000000000198.15702
>>>>> >> >> 73971062964225
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
>>>>> >> tlog.0000000000000000199.15702
>>>>> >> >> 74102467362816
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
>>>>> >> tlog.0000000000000000200.15702
>>>>> >> >> 74251744739328
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
>>>>> >> tlog.0000000000000000201.15702
>>>>> >> >> 74384063496193
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
>>>>> >> tlog.0000000000000000202.15702
>>>>> >> >> 74518247669765
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
>>>>> >> tlog.0000000000000000203.15702
>>>>> >> >> 74652498952192
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
>>>>> >> tlog.0000000000000000204.15702
>>>>> >> >> 74781412982785
>>>>> >> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
>>>>> >> tlog.0000000000000000205.15702
>>>>> >> >> 74907584987136
>>>>> >> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
>>>>> >> tlog.0000000000000000206.15703
>>>>> >> >> 60855149674496
>>>>> >> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
>>>>> >> tlog.0000000000000000207.15706
>>>>> >> >> 32564662599680
>>>>> >> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
>>>>> >> tlog.0000000000000000208.15706
>>>>> >> >> 32675203481600
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
>>>>> >> tlog.0000000000000000209.15706
>>>>> >> >> 32782571372544
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
>>>>> >> tlog.0000000000000000210.15706
>>>>> >> >> 32886154952706
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
>>>>> >> tlog.0000000000000000211.15706
>>>>> >> >> 32992137674754
>>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
>>>>> >> tlog.0000000000000000212.15706
>>>>> >> >> 33103262613505
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
>>>>> >> tlog.0000000000000000213.15706
>>>>> >> >> 33212055519233
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
>>>>> >> tlog.0000000000000000214.15706
>>>>> >> >> 33334366666752
>>>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
>>>>> >> tlog.0000000000000000215.15706
>>>>> >> >> 33444512235520
>>>>> >> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
>>>>> >> tlog.0000000000000000216.15706
>>>>> >> >> 33559541022722
>>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
>>>>> >> tlog.0000000000000000217.15706
>>>>> >> >> 33678830174208
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
>>>>> >> tlog.0000000000000000218.15706
>>>>> >> >> 33796799168513
>>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
>>>>> >> tlog.0000000000000000219.15706
>>>>> >> >> 33915684618240
>>>>> >> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
>>>>> >> tlog.0000000000000000220.15706
>>>>> >> >> 34032865083393
>>>>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
>>>>> >> tlog.0000000000000000221.15706
>>>>> >> >> 34135575199745
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
>>>>> >> tlog.0000000000000000222.15706
>>>>> >> >> 34250321920001
>>>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
>>>>> >> tlog.0000000000000000223.15706
>>>>> >> >> 34365979852803
>>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
>>>>> >> tlog.0000000000000000224.15706
>>>>> >> >> 34471661633536
>>>>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
>>>>> >> tlog.0000000000000000225.15706
>>>>> >> >> 34597027282945
>>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
>>>>> >> tlog.0000000000000000226.15706
>>>>> >> >> 34711229792256
>>>>> >> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
>>>>> >> tlog.0000000000000000227.15706
>>>>> >> >> 34815023087616
>>>>> >> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
>>>>> >> tlog.0000000000000000228.15706
>>>>> >> >> 34922535682050
>>>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
>>>>> >> tlog.0000000000000000229.15706
>>>>> >> >> 35022745993218
>>>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
>>>>> >> tlog.0000000000000000230.15706
>>>>> >> >> 35137936261120
>>>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
>>>>> >> tlog.0000000000000000231.15706
>>>>> >> >> 35246269890560
>>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
>>>>> >> tlog.0000000000000000232.15706
>>>>> >> >> 35354965278720
>>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
>>>>> >> tlog.0000000000000000233.15706
>>>>> >> >> 35478030352385
>>>>> >> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
>>>>> >> tlog.0000000000000000234.15706
>>>>> >> >> 35608948211713
>>>>> >> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
>>>>> >> tlog.0000000000000000235.15706
>>>>> >> >> 35723383504897
>>>>> >> >>
>>>>> >> >>
>>>>> >> >
>>>>> >> > --
>>>>> >> >
>>>>> >> >
>>>>> >> > This message and any attachment are confidential and may be
>>>>> privileged or
>>>>> >> > otherwise protected from disclosure. If you are not the intended
>>>>> >> recipient,
>>>>> >> > you must not copy this message or attachment or disclose the
>>>>> contents to
>>>>> >> > any other person. If you have received this transmission in
>>>>> error, please
>>>>> >> > notify the sender immediately and delete the message and any
>>>>> attachment
>>>>> >> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>>>>> >> > subsidiaries do not accept liability for any omissions or errors
>>>>> in this
>>>>> >> > message which may arise as a result of E-Mail-transmission or for
>>>>> damages
>>>>> >> > resulting from any unauthorized changes of the content of this
>>>>> message
>>>>> >> and
>>>>> >> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of
>>>>> its
>>>>> >> > subsidiaries do not guarantee that this message is free of
>>>>> viruses and
>>>>> >> does
>>>>> >> > not accept liability for any damages caused by any virus
>>>>> transmitted
>>>>> >> > therewith.
>>>>> >> >
>>>>> >> > Click http://www.emdgroup.com/disclaimer to access the German,
>>>>> French,
>>>>> >> > Spanish and Portuguese versions of this disclaimer.
>>>>> >>
>>>>> >
>>>>> > --
>>>>> >
>>>>> >
>>>>> > This message and any attachment are confidential and may be
>>>>> privileged or
>>>>> > otherwise protected from disclosure. If you are not the intended
>>>>> recipient,
>>>>> > you must not copy this message or attachment or disclose the
>>>>> contents to
>>>>> > any other person. If you have received this transmission in error,
>>>>> please
>>>>> > notify the sender immediately and delete the message and any
>>>>> attachment
>>>>> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>>>>> > subsidiaries do not accept liability for any omissions or errors in
>>>>> this
>>>>> > message which may arise as a result of E-Mail-transmission or for
>>>>> damages
>>>>> > resulting from any unauthorized changes of the content of this
>>>>> message and
>>>>> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
>>>>> > subsidiaries do not guarantee that this message is free of viruses
>>>>> and does
>>>>> > not accept liability for any damages caused by any virus transmitted
>>>>> > therewith.
>>>>> >
>>>>> > Click http://www.emdgroup.com/disclaimer to access the German,
>>>>> French,
>>>>> > Spanish and Portuguese versions of this disclaimer.
>>>>>
>>>>
>>>>
>>>
>>
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
Sometimes there are subdirectories of tlog files for example this is a
directory name tlog.20170624124859032 Why do these come into existence? The
sum of the file sizes in the folders seem close to the value returned by
the CDCR action=QUEUES

On Tue, Jun 27, 2017 at 4:05 PM, Webster Homer <we...@sial.com>
wrote:

> We also have the same collections in our development and QA environments.
> In our Dev environment which is not using CDCR replication, but does have
> autoCommit set, we have 440 tlog files. The only difference in the
> configuration is that dev doesn't have the cdcr request handler configured.
> It does have the solr.CdCrUpdateLog set.
>
>     <updateLog class="solr.CdcrUpdateLog">
>       <str name="dir">${solr.ulog.dir:}</str>
>     </updateLog>
>
>
> On Tue, Jun 27, 2017 at 3:11 PM, Webster Homer <we...@sial.com>
> wrote:
>
>> It appears right how that we are  not seeing an issue with the target
>> collections, we definitely see a problem with the source collection.
>> numRecordsToKeep and maxNumLogsToKeep are set to the default values of
>> 100 and 10 respectively. We probably don't need 10 tlog files around.
>>
>>
>> On Tue, Jun 27, 2017 at 11:32 AM, Webster Homer <we...@sial.com>
>> wrote:
>>
>>> Commits were definitely not happening. We ran out of filesystem space.
>>> The admins deleted old tlogs and restartd. The collection in question was
>>> missing a lot of data. We reloaded it, and then we saw some commits. In
>>> Solrcloud they look like this:
>>> 2017-06-23 17:28:06.441 INFO  (commitScheduler-56-thread-1)
>>> [c:sial-content-citations s:shard1 r:core_node2
>>> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
>>> start commit{,optimize=false,openSearcher=true,waitSearcher=true,e
>>> xpungeDeletes=false,softCommit=true,prepareCommit=false}
>>> 2017-06-23 17:28:07.823 INFO  (commitScheduler-56-thread-1)
>>> [c:sial-content-citations s:shard1 r:core_node2
>>> x:sial-content-citations_shard1_replica1] o.a.s.s.SolrIndexSearcher
>>> Opening [Searcher@1c6a3bf1[sial-content-citations_shard1_replica1] main]
>>> 2017-06-23 17:28:07.824 INFO  (commitScheduler-56-thread-1)
>>> [c:sial-content-citations s:shard1 r:core_node2
>>> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
>>> end_commit_flush
>>> 2017-06-23 17:28:49.665 INFO  (commitScheduler-66-thread-1)
>>> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
>>> o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSea
>>> rcher=false,waitSearcher=true,expungeDeletes=false,softCommi
>>> t=false,prepareCommit=false}
>>> 2017-06-23 17:28:49.742 INFO  (commitScheduler-66-thread-1)
>>> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
>>> o.a.s.c.SolrDeletionPolicy SolrDeletionPolicy.onCommit: commits: num=2
>>> commit{dir=NRTCachingDirectory(MMapDirectory@/var/solr/data/
>>> ehs-catalog-qmdoc_shard2_replica1/data/index
>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@597830aa;
>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_2gb,generation=3179}
>>>
>>> I have been busy and couldn't get back to this issue until now. The
>>> problem started happening again. I manually sent a commit and that seemed
>>> to help for a time. Unfortunately I don't have access to our Production
>>> solrs. we use logstash for the logs, but not all logs were being captured,
>>> the commit messages above were not.
>>>
>>>
>>> On Tue, Jun 20, 2017 at 5:34 PM, Erick Erickson <erickerickson@gmail.com
>>> > wrote:
>>>
>>>> bq: Neither in our source collection nor in our target collections.
>>>>
>>>> Hmmm. You should see messages similar to the following which I just
>>>> generated on Solr 6.2 (stand-alone I admit but that code should be the
>>>> same):
>>>>
>>>> INFO  - 2017-06-20 21:11:55.424; [   x:techproducts]
>>>> org.apache.solr.update.DirectUpdateHandler2; start
>>>> commit{,optimize=false,openSearcher=false,waitSearcher=true,
>>>> expungeDeletes=false,softCommit=false,prepareCommit=false}
>>>>
>>>> INFO  - 2017-06-20 21:11:55.425; [   x:techproducts]
>>>> org.apache.solr.update.SolrIndexWriter; Calling setCommitData with
>>>> IW:org.apache.solr.update.SolrIndexWriter@4862d97c
>>>>
>>>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>>>> org.apache.solr.core.SolrDeletionPolicy; SolrDeletionPolicy.onCommit:
>>>> commits: num=2
>>>>
>>>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>>>> ache/solrVersions/playspace/solr/example/techproducts/solr/t
>>>> echproducts/data/index
>>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c,generation=12}
>>>>
>>>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>>>> ache/solrVersions/playspace/solr/example/techproducts/solr/t
>>>> echproducts/data/index
>>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_d,generation=13}
>>>>
>>>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>>>> org.apache.solr.core.SolrDeletionPolicy; newest commit generation = 13
>>>>
>>>> INFO  - 2017-06-20 21:11:55.668; [   x:techproducts]
>>>> org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
>>>>
>>>> whenever commits kick in.
>>>>
>>>> So how sure are you of your autocommit settings? Is there any chance
>>>> the sysvar "solr.autoCommit.maxTime" is somehow being set to -1?
>>>> Unlikely frankly since you have multiple tlogs.
>>>>
>>>> Another possibility is that somehow you've changed the number of docs
>>>> to keep in the transaction logs and the number of transaction logs
>>>> through:
>>>> numRecordsToKeep
>>>> and
>>>> maxNumLogsToKeep
>>>>
>>>> And you'll note that the tlogs stat at 000000082, which means many
>>>> have been deleted. Does the minimum number keep going up? If that's
>>>> the case tlogs _are_ being rolled over, just not very often. Why is a
>>>> mystery of course.
>>>>
>>>> So what happens if you issue manual commits on both source and target?
>>>>
>>>> It's unlikely that autocommit is totally broken or we'd have heard
>>>> howls almost immediately. That said the behavior you report is
>>>> disturbing
>>>>
>>>> Best,
>>>> Erick
>>>>
>>>>
>>>> On Tue, Jun 20, 2017 at 1:37 PM, Webster Homer <we...@sial.com>
>>>> wrote:
>>>> > Yes, soft commits are irrelevant for this. What is relevant about soft
>>>> > commits is that we can search the data.
>>>> >
>>>> > We have autoCommit set to 10 minutes and never see tlogs truncated.
>>>> > Apparently autoCommit doesn't fire, ever.
>>>> > Neither in our source collection nor in our target collections. The
>>>> more I
>>>> > look at this the more I believe it's a solr bug, and a very serious
>>>> one.
>>>> > Our ETL jobs don't issue commits as they expect that the autoCommit
>>>> will
>>>> > work.
>>>> >
>>>> > If autoCommit doesn't work how will cdcr target collections ever get
>>>> a hard
>>>> > commit?
>>>> >
>>>> > So how can I determine if the commit occurred? It would be nice if the
>>>> > commit logged a message, I don't see such a message but I don't know
>>>> what
>>>> > to look for
>>>> >
>>>> > 2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:
>>>> >
>>>> >> Maybe irrelevant, but soft commits don't truncate transaction logs,
>>>> >> only hard commits do (openSearcher true|false doesn't matter).
>>>> >>
>>>> >> Full background here:
>>>> >> https://lucidworks.com/2013/08/23/understanding-
>>>> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>>> >>
>>>> >> Not entirely sure how that interacts with CDCR mind you..
>>>> >>
>>>> >> Best,
>>>> >> Erick
>>>> >>
>>>> >> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
>>>> >> > :Looking at our cdcr source collection, it too doesn't look like a
>>>> commit
>>>> >> > occurred, so I sent one manually.
>>>> >> > From this I believe that autoCommit isn't working in Solr 6.2
>>>> >> >
>>>> >> > Our ETL doesn't send commits, we rely upon autoCommit, and for
>>>> CDCR you
>>>> >> > have to have autoCommit. We also have autoSoftCommit set. That
>>>> seems to
>>>> >> > work as the data is searchable.
>>>> >> >
>>>> >> > Does the commit write a message to the log? How can you tell when a
>>>> >> commit
>>>> >> > occurs? As stated above I believe that autoCommit is broken
>>>> >> >
>>>> >> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
>>>> >> >
>>>> >> >> We have a solr cloud collection that gets a full update every
>>>> morning,
>>>> >> via
>>>> >> >> cdcr replication. We see that the target tlogs do not seem to get
>>>> >> truncated
>>>> >> >> or deleted as described here
>>>> >> >> https://lucidworks.com/2013/08/23/understanding-
>>>> >> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>>> >> >>
>>>> >> >> I checked we have the cdcr buffer disabled.
>>>> >> >>
>>>> >> >> The autoCommit is set to 10 minutes
>>>> >> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime>
>>>> <
>>>> >> >> openSearcher>false</openSearcher> </autoCommit>
>>>> >> >>
>>>> >> >> According to the documentation this shouldn't be happening. How
>>>> can you
>>>> >> >> tell if commits are really firing? The cores always show current
>>>> = false
>>>> >> >> which seems to indicate that commits are not happening
>>>> >> >>
>>>> >> >> There is a daily reload of the data that takes about 2 hours,
>>>> after
>>>> >> which
>>>> >> >> I would expect the auto commits would be cleaning up the tlogs
>>>> this
>>>> >> doesn't
>>>> >> >> seem to be happening
>>>> >> >>
>>>> >> >> We are running Solr 6.2
>>>> >> >>
>>>> >> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
>>>> >> tlog.0000000000000000082.15699
>>>> >> >> 98266936852480
>>>> >> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
>>>> >> tlog.0000000000000000083.15699
>>>> >> >> 98387510509568
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
>>>> >> tlog.0000000000000000084.15699
>>>> >> >> 98511822340097
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
>>>> >> tlog.0000000000000000085.15699
>>>> >> >> 98630444597248
>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
>>>> >> tlog.0000000000000000086.15699
>>>> >> >> 98747965849602
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
>>>> >> tlog.0000000000000000087.15699
>>>> >> >> 98869097349120
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
>>>> >> tlog.0000000000000000088.15699
>>>> >> >> 98991821635584
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
>>>> >> tlog.0000000000000000089.15699
>>>> >> >> 99120862543873
>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
>>>> >> tlog.0000000000000000090.15699
>>>> >> >> 99251864289280
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
>>>> >> tlog.0000000000000000091.15699
>>>> >> >> 99388984475649
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
>>>> >> tlog.0000000000000000092.15699
>>>> >> >> 99523820863490
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
>>>> >> tlog.0000000000000000093.15699
>>>> >> >> 99646608064513
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
>>>> >> tlog.0000000000000000094.15699
>>>> >> >> 99769813647360
>>>> >> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
>>>> >> tlog.0000000000000000095.15699
>>>> >> >> 99894280667137
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
>>>> >> tlog.0000000000000000096.15700
>>>> >> >> 00010283581441
>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
>>>> >> tlog.0000000000000000097.15700
>>>> >> >> 00129089339392
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
>>>> >> tlog.0000000000000000098.15700
>>>> >> >> 00248878661633
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
>>>> >> tlog.0000000000000000099.15700
>>>> >> >> 00369279303680
>>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
>>>> >> tlog.0000000000000000100.15700
>>>> >> >> 00508478816256
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
>>>> >> tlog.0000000000000000101.15700
>>>> >> >> 00624750166017
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
>>>> >> tlog.0000000000000000102.15700
>>>> >> >> 00748410830848
>>>> >> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
>>>> >> tlog.0000000000000000103.15700
>>>> >> >> 00871066959875
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
>>>> >> tlog.0000000000000000104.15700
>>>> >> >> 00998950240256
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
>>>> >> tlog.0000000000000000105.15700
>>>> >> >> 01121887387650
>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
>>>> >> tlog.0000000000000000106.15700
>>>> >> >> 01256208924672
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
>>>> >> tlog.0000000000000000107.15700
>>>> >> >> 01389587791873
>>>> >> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
>>>> >> tlog.0000000000000000108.15700
>>>> >> >> 01520912498688
>>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
>>>> >> tlog.0000000000000000109.15700
>>>> >> >> 88922160037888
>>>> >> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
>>>> >> tlog.0000000000000000110.15700
>>>> >> >> 89052763324416
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
>>>> >> tlog.0000000000000000111.15700
>>>> >> >> 89163823251456
>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
>>>> >> tlog.0000000000000000112.15700
>>>> >> >> 89279604916232
>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
>>>> >> tlog.0000000000000000113.15700
>>>> >> >> 89396394262528
>>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
>>>> >> tlog.0000000000000000114.15700
>>>> >> >> 89522649104386
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
>>>> >> tlog.0000000000000000115.15700
>>>> >> >> 89646671527937
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
>>>> >> tlog.0000000000000000116.15700
>>>> >> >> 89784991285251
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
>>>> >> tlog.0000000000000000117.15700
>>>> >> >> 89912654364672
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
>>>> >> tlog.0000000000000000118.15700
>>>> >> >> 90038066151424
>>>> >> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
>>>> >> tlog.0000000000000000119.15700
>>>> >> >> 90169766248449
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
>>>> >> tlog.0000000000000000120.15700
>>>> >> >> 90295142383616
>>>> >> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
>>>> >> tlog.0000000000000000121.15700
>>>> >> >> 90421449654272
>>>> >> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
>>>> >> tlog.0000000000000000122.15700
>>>> >> >> 90542827569154
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
>>>> >> tlog.0000000000000000123.15700
>>>> >> >> 90650884374530
>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
>>>> >> tlog.0000000000000000124.15700
>>>> >> >> 90782145118209
>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
>>>> >> tlog.0000000000000000125.15700
>>>> >> >> 90919577780224
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
>>>> >> tlog.0000000000000000126.15700
>>>> >> >> 91056993665025
>>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
>>>> >> tlog.0000000000000000127.15700
>>>> >> >> 91185511333891
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
>>>> >> tlog.0000000000000000128.15700
>>>> >> >> 91307219550211
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
>>>> >> tlog.0000000000000000129.15700
>>>> >> >> 91430609682433
>>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
>>>> >> tlog.0000000000000000130.15700
>>>> >> >> 91553711456256
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
>>>> >> tlog.0000000000000000131.15700
>>>> >> >> 91679935889410
>>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
>>>> >> tlog.0000000000000000132.15700
>>>> >> >> 91806594433024
>>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
>>>> >> tlog.0000000000000000133.15700
>>>> >> >> 91928757731328
>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
>>>> >> tlog.0000000000000000134.15700
>>>> >> >> 92057357189123
>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
>>>> >> tlog.0000000000000000135.15700
>>>> >> >> 92201294168065
>>>> >> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
>>>> >> tlog.0000000000000000136.15700
>>>> >> >> 92359713030145
>>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
>>>> >> tlog.0000000000000000137.15701
>>>> >> >> 79678509989888
>>>> >> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
>>>> >> tlog.0000000000000000138.15701
>>>> >> >> 79804288778244
>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
>>>> >> tlog.0000000000000000139.15701
>>>> >> >> 79914307469314
>>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
>>>> >> tlog.0000000000000000140.15701
>>>> >> >> 80027872444417
>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
>>>> >> tlog.0000000000000000141.15701
>>>> >> >> 80143976022017
>>>> >> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
>>>> >> tlog.0000000000000000142.15701
>>>> >> >> 80259345596416
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
>>>> >> tlog.0000000000000000143.15701
>>>> >> >> 80380134211585
>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
>>>> >> tlog.0000000000000000144.15701
>>>> >> >> 80512045072385
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
>>>> >> tlog.0000000000000000145.15701
>>>> >> >> 80636449177601
>>>> >> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
>>>> >> tlog.0000000000000000146.15701
>>>> >> >> 80765257302016
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
>>>> >> tlog.0000000000000000147.15701
>>>> >> >> 80894815158273
>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
>>>> >> tlog.0000000000000000148.15701
>>>> >> >> 81023165054978
>>>> >> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
>>>> >> tlog.0000000000000000187.15702
>>>> >> >> 72543776964609
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
>>>> >> tlog.0000000000000000188.15702
>>>> >> >> 72675052388353
>>>> >> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
>>>> >> tlog.0000000000000000189.15702
>>>> >> >> 72803043672065
>>>> >> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
>>>> >> tlog.0000000000000000190.15702
>>>> >> >> 72922861305857
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
>>>> >> tlog.0000000000000000191.15702
>>>> >> >> 73044701642753
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
>>>> >> tlog.0000000000000000192.15702
>>>> >> >> 73167724773376
>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
>>>> >> tlog.0000000000000000193.15702
>>>> >> >> 73287885291521
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
>>>> >> tlog.0000000000000000194.15702
>>>> >> >> 73416424980480
>>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
>>>> >> tlog.0000000000000000195.15702
>>>> >> >> 73565833428992
>>>> >> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
>>>> >> tlog.0000000000000000196.15702
>>>> >> >> 73715471515649
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
>>>> >> tlog.0000000000000000197.15702
>>>> >> >> 73842866159616
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
>>>> >> tlog.0000000000000000198.15702
>>>> >> >> 73971062964225
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
>>>> >> tlog.0000000000000000199.15702
>>>> >> >> 74102467362816
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
>>>> >> tlog.0000000000000000200.15702
>>>> >> >> 74251744739328
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
>>>> >> tlog.0000000000000000201.15702
>>>> >> >> 74384063496193
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
>>>> >> tlog.0000000000000000202.15702
>>>> >> >> 74518247669765
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
>>>> >> tlog.0000000000000000203.15702
>>>> >> >> 74652498952192
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
>>>> >> tlog.0000000000000000204.15702
>>>> >> >> 74781412982785
>>>> >> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
>>>> >> tlog.0000000000000000205.15702
>>>> >> >> 74907584987136
>>>> >> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
>>>> >> tlog.0000000000000000206.15703
>>>> >> >> 60855149674496
>>>> >> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
>>>> >> tlog.0000000000000000207.15706
>>>> >> >> 32564662599680
>>>> >> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
>>>> >> tlog.0000000000000000208.15706
>>>> >> >> 32675203481600
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
>>>> >> tlog.0000000000000000209.15706
>>>> >> >> 32782571372544
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
>>>> >> tlog.0000000000000000210.15706
>>>> >> >> 32886154952706
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
>>>> >> tlog.0000000000000000211.15706
>>>> >> >> 32992137674754
>>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
>>>> >> tlog.0000000000000000212.15706
>>>> >> >> 33103262613505
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
>>>> >> tlog.0000000000000000213.15706
>>>> >> >> 33212055519233
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
>>>> >> tlog.0000000000000000214.15706
>>>> >> >> 33334366666752
>>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
>>>> >> tlog.0000000000000000215.15706
>>>> >> >> 33444512235520
>>>> >> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
>>>> >> tlog.0000000000000000216.15706
>>>> >> >> 33559541022722
>>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
>>>> >> tlog.0000000000000000217.15706
>>>> >> >> 33678830174208
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
>>>> >> tlog.0000000000000000218.15706
>>>> >> >> 33796799168513
>>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
>>>> >> tlog.0000000000000000219.15706
>>>> >> >> 33915684618240
>>>> >> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
>>>> >> tlog.0000000000000000220.15706
>>>> >> >> 34032865083393
>>>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
>>>> >> tlog.0000000000000000221.15706
>>>> >> >> 34135575199745
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
>>>> >> tlog.0000000000000000222.15706
>>>> >> >> 34250321920001
>>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
>>>> >> tlog.0000000000000000223.15706
>>>> >> >> 34365979852803
>>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
>>>> >> tlog.0000000000000000224.15706
>>>> >> >> 34471661633536
>>>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
>>>> >> tlog.0000000000000000225.15706
>>>> >> >> 34597027282945
>>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
>>>> >> tlog.0000000000000000226.15706
>>>> >> >> 34711229792256
>>>> >> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
>>>> >> tlog.0000000000000000227.15706
>>>> >> >> 34815023087616
>>>> >> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
>>>> >> tlog.0000000000000000228.15706
>>>> >> >> 34922535682050
>>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
>>>> >> tlog.0000000000000000229.15706
>>>> >> >> 35022745993218
>>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
>>>> >> tlog.0000000000000000230.15706
>>>> >> >> 35137936261120
>>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
>>>> >> tlog.0000000000000000231.15706
>>>> >> >> 35246269890560
>>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
>>>> >> tlog.0000000000000000232.15706
>>>> >> >> 35354965278720
>>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
>>>> >> tlog.0000000000000000233.15706
>>>> >> >> 35478030352385
>>>> >> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
>>>> >> tlog.0000000000000000234.15706
>>>> >> >> 35608948211713
>>>> >> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
>>>> >> tlog.0000000000000000235.15706
>>>> >> >> 35723383504897
>>>> >> >>
>>>> >> >>
>>>> >> >
>>>> >> > --
>>>> >> >
>>>> >> >
>>>> >> > This message and any attachment are confidential and may be
>>>> privileged or
>>>> >> > otherwise protected from disclosure. If you are not the intended
>>>> >> recipient,
>>>> >> > you must not copy this message or attachment or disclose the
>>>> contents to
>>>> >> > any other person. If you have received this transmission in error,
>>>> please
>>>> >> > notify the sender immediately and delete the message and any
>>>> attachment
>>>> >> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>>>> >> > subsidiaries do not accept liability for any omissions or errors
>>>> in this
>>>> >> > message which may arise as a result of E-Mail-transmission or for
>>>> damages
>>>> >> > resulting from any unauthorized changes of the content of this
>>>> message
>>>> >> and
>>>> >> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of
>>>> its
>>>> >> > subsidiaries do not guarantee that this message is free of viruses
>>>> and
>>>> >> does
>>>> >> > not accept liability for any damages caused by any virus
>>>> transmitted
>>>> >> > therewith.
>>>> >> >
>>>> >> > Click http://www.emdgroup.com/disclaimer to access the German,
>>>> French,
>>>> >> > Spanish and Portuguese versions of this disclaimer.
>>>> >>
>>>> >
>>>> > --
>>>> >
>>>> >
>>>> > This message and any attachment are confidential and may be
>>>> privileged or
>>>> > otherwise protected from disclosure. If you are not the intended
>>>> recipient,
>>>> > you must not copy this message or attachment or disclose the contents
>>>> to
>>>> > any other person. If you have received this transmission in error,
>>>> please
>>>> > notify the sender immediately and delete the message and any
>>>> attachment
>>>> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>>>> > subsidiaries do not accept liability for any omissions or errors in
>>>> this
>>>> > message which may arise as a result of E-Mail-transmission or for
>>>> damages
>>>> > resulting from any unauthorized changes of the content of this
>>>> message and
>>>> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
>>>> > subsidiaries do not guarantee that this message is free of viruses
>>>> and does
>>>> > not accept liability for any damages caused by any virus transmitted
>>>> > therewith.
>>>> >
>>>> > Click http://www.emdgroup.com/disclaimer to access the German,
>>>> French,
>>>> > Spanish and Portuguese versions of this disclaimer.
>>>>
>>>
>>>
>>
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
We also have the same collections in our development and QA environments.
In our Dev environment which is not using CDCR replication, but does have
autoCommit set, we have 440 tlog files. The only difference in the
configuration is that dev doesn't have the cdcr request handler configured.
It does have the solr.CdCrUpdateLog set.

    <updateLog class="solr.CdcrUpdateLog">
      <str name="dir">${solr.ulog.dir:}</str>
    </updateLog>


On Tue, Jun 27, 2017 at 3:11 PM, Webster Homer <we...@sial.com>
wrote:

> It appears right how that we are  not seeing an issue with the target
> collections, we definitely see a problem with the source collection.
> numRecordsToKeep and maxNumLogsToKeep are set to the default values of
> 100 and 10 respectively. We probably don't need 10 tlog files around.
>
>
> On Tue, Jun 27, 2017 at 11:32 AM, Webster Homer <we...@sial.com>
> wrote:
>
>> Commits were definitely not happening. We ran out of filesystem space.
>> The admins deleted old tlogs and restartd. The collection in question was
>> missing a lot of data. We reloaded it, and then we saw some commits. In
>> Solrcloud they look like this:
>> 2017-06-23 17:28:06.441 INFO  (commitScheduler-56-thread-1)
>> [c:sial-content-citations s:shard1 r:core_node2
>> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
>> start commit{,optimize=false,openSearcher=true,waitSearcher=true,e
>> xpungeDeletes=false,softCommit=true,prepareCommit=false}
>> 2017-06-23 17:28:07.823 INFO  (commitScheduler-56-thread-1)
>> [c:sial-content-citations s:shard1 r:core_node2
>> x:sial-content-citations_shard1_replica1] o.a.s.s.SolrIndexSearcher
>> Opening [Searcher@1c6a3bf1[sial-content-citations_shard1_replica1] main]
>> 2017-06-23 17:28:07.824 INFO  (commitScheduler-56-thread-1)
>> [c:sial-content-citations s:shard1 r:core_node2
>> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
>> end_commit_flush
>> 2017-06-23 17:28:49.665 INFO  (commitScheduler-66-thread-1)
>> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
>> o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSea
>> rcher=false,waitSearcher=true,expungeDeletes=false,softCommi
>> t=false,prepareCommit=false}
>> 2017-06-23 17:28:49.742 INFO  (commitScheduler-66-thread-1)
>> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
>> o.a.s.c.SolrDeletionPolicy SolrDeletionPolicy.onCommit: commits: num=2
>> commit{dir=NRTCachingDirectory(MMapDirectory@/var/solr/data/
>> ehs-catalog-qmdoc_shard2_replica1/data/index
>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@597830aa;
>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_2gb,generation=3179}
>>
>> I have been busy and couldn't get back to this issue until now. The
>> problem started happening again. I manually sent a commit and that seemed
>> to help for a time. Unfortunately I don't have access to our Production
>> solrs. we use logstash for the logs, but not all logs were being captured,
>> the commit messages above were not.
>>
>>
>> On Tue, Jun 20, 2017 at 5:34 PM, Erick Erickson <er...@gmail.com>
>> wrote:
>>
>>> bq: Neither in our source collection nor in our target collections.
>>>
>>> Hmmm. You should see messages similar to the following which I just
>>> generated on Solr 6.2 (stand-alone I admit but that code should be the
>>> same):
>>>
>>> INFO  - 2017-06-20 21:11:55.424; [   x:techproducts]
>>> org.apache.solr.update.DirectUpdateHandler2; start
>>> commit{,optimize=false,openSearcher=false,waitSearcher=true,
>>> expungeDeletes=false,softCommit=false,prepareCommit=false}
>>>
>>> INFO  - 2017-06-20 21:11:55.425; [   x:techproducts]
>>> org.apache.solr.update.SolrIndexWriter; Calling setCommitData with
>>> IW:org.apache.solr.update.SolrIndexWriter@4862d97c
>>>
>>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>>> org.apache.solr.core.SolrDeletionPolicy; SolrDeletionPolicy.onCommit:
>>> commits: num=2
>>>
>>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>>> ache/solrVersions/playspace/solr/example/techproducts/solr/t
>>> echproducts/data/index
>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c,generation=12}
>>>
>>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>>> ache/solrVersions/playspace/solr/example/techproducts/solr/t
>>> echproducts/data/index
>>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_d,generation=13}
>>>
>>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>>> org.apache.solr.core.SolrDeletionPolicy; newest commit generation = 13
>>>
>>> INFO  - 2017-06-20 21:11:55.668; [   x:techproducts]
>>> org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
>>>
>>> whenever commits kick in.
>>>
>>> So how sure are you of your autocommit settings? Is there any chance
>>> the sysvar "solr.autoCommit.maxTime" is somehow being set to -1?
>>> Unlikely frankly since you have multiple tlogs.
>>>
>>> Another possibility is that somehow you've changed the number of docs
>>> to keep in the transaction logs and the number of transaction logs
>>> through:
>>> numRecordsToKeep
>>> and
>>> maxNumLogsToKeep
>>>
>>> And you'll note that the tlogs stat at 000000082, which means many
>>> have been deleted. Does the minimum number keep going up? If that's
>>> the case tlogs _are_ being rolled over, just not very often. Why is a
>>> mystery of course.
>>>
>>> So what happens if you issue manual commits on both source and target?
>>>
>>> It's unlikely that autocommit is totally broken or we'd have heard
>>> howls almost immediately. That said the behavior you report is
>>> disturbing
>>>
>>> Best,
>>> Erick
>>>
>>>
>>> On Tue, Jun 20, 2017 at 1:37 PM, Webster Homer <we...@sial.com>
>>> wrote:
>>> > Yes, soft commits are irrelevant for this. What is relevant about soft
>>> > commits is that we can search the data.
>>> >
>>> > We have autoCommit set to 10 minutes and never see tlogs truncated.
>>> > Apparently autoCommit doesn't fire, ever.
>>> > Neither in our source collection nor in our target collections. The
>>> more I
>>> > look at this the more I believe it's a solr bug, and a very serious
>>> one.
>>> > Our ETL jobs don't issue commits as they expect that the autoCommit
>>> will
>>> > work.
>>> >
>>> > If autoCommit doesn't work how will cdcr target collections ever get a
>>> hard
>>> > commit?
>>> >
>>> > So how can I determine if the commit occurred? It would be nice if the
>>> > commit logged a message, I don't see such a message but I don't know
>>> what
>>> > to look for
>>> >
>>> > 2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:
>>> >
>>> >> Maybe irrelevant, but soft commits don't truncate transaction logs,
>>> >> only hard commits do (openSearcher true|false doesn't matter).
>>> >>
>>> >> Full background here:
>>> >> https://lucidworks.com/2013/08/23/understanding-
>>> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>> >>
>>> >> Not entirely sure how that interacts with CDCR mind you..
>>> >>
>>> >> Best,
>>> >> Erick
>>> >>
>>> >> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
>>> >> > :Looking at our cdcr source collection, it too doesn't look like a
>>> commit
>>> >> > occurred, so I sent one manually.
>>> >> > From this I believe that autoCommit isn't working in Solr 6.2
>>> >> >
>>> >> > Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR
>>> you
>>> >> > have to have autoCommit. We also have autoSoftCommit set. That
>>> seems to
>>> >> > work as the data is searchable.
>>> >> >
>>> >> > Does the commit write a message to the log? How can you tell when a
>>> >> commit
>>> >> > occurs? As stated above I believe that autoCommit is broken
>>> >> >
>>> >> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
>>> >> >
>>> >> >> We have a solr cloud collection that gets a full update every
>>> morning,
>>> >> via
>>> >> >> cdcr replication. We see that the target tlogs do not seem to get
>>> >> truncated
>>> >> >> or deleted as described here
>>> >> >> https://lucidworks.com/2013/08/23/understanding-
>>> >> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>> >> >>
>>> >> >> I checked we have the cdcr buffer disabled.
>>> >> >>
>>> >> >> The autoCommit is set to 10 minutes
>>> >> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime>
>>> <
>>> >> >> openSearcher>false</openSearcher> </autoCommit>
>>> >> >>
>>> >> >> According to the documentation this shouldn't be happening. How
>>> can you
>>> >> >> tell if commits are really firing? The cores always show current =
>>> false
>>> >> >> which seems to indicate that commits are not happening
>>> >> >>
>>> >> >> There is a daily reload of the data that takes about 2 hours, after
>>> >> which
>>> >> >> I would expect the auto commits would be cleaning up the tlogs this
>>> >> doesn't
>>> >> >> seem to be happening
>>> >> >>
>>> >> >> We are running Solr 6.2
>>> >> >>
>>> >> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
>>> >> tlog.0000000000000000082.15699
>>> >> >> 98266936852480
>>> >> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
>>> >> tlog.0000000000000000083.15699
>>> >> >> 98387510509568
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
>>> >> tlog.0000000000000000084.15699
>>> >> >> 98511822340097
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
>>> >> tlog.0000000000000000085.15699
>>> >> >> 98630444597248
>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
>>> >> tlog.0000000000000000086.15699
>>> >> >> 98747965849602
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
>>> >> tlog.0000000000000000087.15699
>>> >> >> 98869097349120
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
>>> >> tlog.0000000000000000088.15699
>>> >> >> 98991821635584
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
>>> >> tlog.0000000000000000089.15699
>>> >> >> 99120862543873
>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
>>> >> tlog.0000000000000000090.15699
>>> >> >> 99251864289280
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
>>> >> tlog.0000000000000000091.15699
>>> >> >> 99388984475649
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
>>> >> tlog.0000000000000000092.15699
>>> >> >> 99523820863490
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
>>> >> tlog.0000000000000000093.15699
>>> >> >> 99646608064513
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
>>> >> tlog.0000000000000000094.15699
>>> >> >> 99769813647360
>>> >> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
>>> >> tlog.0000000000000000095.15699
>>> >> >> 99894280667137
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
>>> >> tlog.0000000000000000096.15700
>>> >> >> 00010283581441
>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
>>> >> tlog.0000000000000000097.15700
>>> >> >> 00129089339392
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
>>> >> tlog.0000000000000000098.15700
>>> >> >> 00248878661633
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
>>> >> tlog.0000000000000000099.15700
>>> >> >> 00369279303680
>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
>>> >> tlog.0000000000000000100.15700
>>> >> >> 00508478816256
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
>>> >> tlog.0000000000000000101.15700
>>> >> >> 00624750166017
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
>>> >> tlog.0000000000000000102.15700
>>> >> >> 00748410830848
>>> >> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
>>> >> tlog.0000000000000000103.15700
>>> >> >> 00871066959875
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
>>> >> tlog.0000000000000000104.15700
>>> >> >> 00998950240256
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
>>> >> tlog.0000000000000000105.15700
>>> >> >> 01121887387650
>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
>>> >> tlog.0000000000000000106.15700
>>> >> >> 01256208924672
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
>>> >> tlog.0000000000000000107.15700
>>> >> >> 01389587791873
>>> >> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
>>> >> tlog.0000000000000000108.15700
>>> >> >> 01520912498688
>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
>>> >> tlog.0000000000000000109.15700
>>> >> >> 88922160037888
>>> >> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
>>> >> tlog.0000000000000000110.15700
>>> >> >> 89052763324416
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
>>> >> tlog.0000000000000000111.15700
>>> >> >> 89163823251456
>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
>>> >> tlog.0000000000000000112.15700
>>> >> >> 89279604916232
>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
>>> >> tlog.0000000000000000113.15700
>>> >> >> 89396394262528
>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
>>> >> tlog.0000000000000000114.15700
>>> >> >> 89522649104386
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
>>> >> tlog.0000000000000000115.15700
>>> >> >> 89646671527937
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
>>> >> tlog.0000000000000000116.15700
>>> >> >> 89784991285251
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
>>> >> tlog.0000000000000000117.15700
>>> >> >> 89912654364672
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
>>> >> tlog.0000000000000000118.15700
>>> >> >> 90038066151424
>>> >> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
>>> >> tlog.0000000000000000119.15700
>>> >> >> 90169766248449
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
>>> >> tlog.0000000000000000120.15700
>>> >> >> 90295142383616
>>> >> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
>>> >> tlog.0000000000000000121.15700
>>> >> >> 90421449654272
>>> >> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
>>> >> tlog.0000000000000000122.15700
>>> >> >> 90542827569154
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
>>> >> tlog.0000000000000000123.15700
>>> >> >> 90650884374530
>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
>>> >> tlog.0000000000000000124.15700
>>> >> >> 90782145118209
>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
>>> >> tlog.0000000000000000125.15700
>>> >> >> 90919577780224
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
>>> >> tlog.0000000000000000126.15700
>>> >> >> 91056993665025
>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
>>> >> tlog.0000000000000000127.15700
>>> >> >> 91185511333891
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
>>> >> tlog.0000000000000000128.15700
>>> >> >> 91307219550211
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
>>> >> tlog.0000000000000000129.15700
>>> >> >> 91430609682433
>>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
>>> >> tlog.0000000000000000130.15700
>>> >> >> 91553711456256
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
>>> >> tlog.0000000000000000131.15700
>>> >> >> 91679935889410
>>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
>>> >> tlog.0000000000000000132.15700
>>> >> >> 91806594433024
>>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
>>> >> tlog.0000000000000000133.15700
>>> >> >> 91928757731328
>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
>>> >> tlog.0000000000000000134.15700
>>> >> >> 92057357189123
>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
>>> >> tlog.0000000000000000135.15700
>>> >> >> 92201294168065
>>> >> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
>>> >> tlog.0000000000000000136.15700
>>> >> >> 92359713030145
>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
>>> >> tlog.0000000000000000137.15701
>>> >> >> 79678509989888
>>> >> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
>>> >> tlog.0000000000000000138.15701
>>> >> >> 79804288778244
>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
>>> >> tlog.0000000000000000139.15701
>>> >> >> 79914307469314
>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
>>> >> tlog.0000000000000000140.15701
>>> >> >> 80027872444417
>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
>>> >> tlog.0000000000000000141.15701
>>> >> >> 80143976022017
>>> >> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
>>> >> tlog.0000000000000000142.15701
>>> >> >> 80259345596416
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
>>> >> tlog.0000000000000000143.15701
>>> >> >> 80380134211585
>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
>>> >> tlog.0000000000000000144.15701
>>> >> >> 80512045072385
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
>>> >> tlog.0000000000000000145.15701
>>> >> >> 80636449177601
>>> >> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
>>> >> tlog.0000000000000000146.15701
>>> >> >> 80765257302016
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
>>> >> tlog.0000000000000000147.15701
>>> >> >> 80894815158273
>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
>>> >> tlog.0000000000000000148.15701
>>> >> >> 81023165054978
>>> >> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
>>> >> tlog.0000000000000000187.15702
>>> >> >> 72543776964609
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
>>> >> tlog.0000000000000000188.15702
>>> >> >> 72675052388353
>>> >> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
>>> >> tlog.0000000000000000189.15702
>>> >> >> 72803043672065
>>> >> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
>>> >> tlog.0000000000000000190.15702
>>> >> >> 72922861305857
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
>>> >> tlog.0000000000000000191.15702
>>> >> >> 73044701642753
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
>>> >> tlog.0000000000000000192.15702
>>> >> >> 73167724773376
>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
>>> >> tlog.0000000000000000193.15702
>>> >> >> 73287885291521
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
>>> >> tlog.0000000000000000194.15702
>>> >> >> 73416424980480
>>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
>>> >> tlog.0000000000000000195.15702
>>> >> >> 73565833428992
>>> >> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
>>> >> tlog.0000000000000000196.15702
>>> >> >> 73715471515649
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
>>> >> tlog.0000000000000000197.15702
>>> >> >> 73842866159616
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
>>> >> tlog.0000000000000000198.15702
>>> >> >> 73971062964225
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
>>> >> tlog.0000000000000000199.15702
>>> >> >> 74102467362816
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
>>> >> tlog.0000000000000000200.15702
>>> >> >> 74251744739328
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
>>> >> tlog.0000000000000000201.15702
>>> >> >> 74384063496193
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
>>> >> tlog.0000000000000000202.15702
>>> >> >> 74518247669765
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
>>> >> tlog.0000000000000000203.15702
>>> >> >> 74652498952192
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
>>> >> tlog.0000000000000000204.15702
>>> >> >> 74781412982785
>>> >> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
>>> >> tlog.0000000000000000205.15702
>>> >> >> 74907584987136
>>> >> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
>>> >> tlog.0000000000000000206.15703
>>> >> >> 60855149674496
>>> >> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
>>> >> tlog.0000000000000000207.15706
>>> >> >> 32564662599680
>>> >> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
>>> >> tlog.0000000000000000208.15706
>>> >> >> 32675203481600
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
>>> >> tlog.0000000000000000209.15706
>>> >> >> 32782571372544
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
>>> >> tlog.0000000000000000210.15706
>>> >> >> 32886154952706
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
>>> >> tlog.0000000000000000211.15706
>>> >> >> 32992137674754
>>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
>>> >> tlog.0000000000000000212.15706
>>> >> >> 33103262613505
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
>>> >> tlog.0000000000000000213.15706
>>> >> >> 33212055519233
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
>>> >> tlog.0000000000000000214.15706
>>> >> >> 33334366666752
>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
>>> >> tlog.0000000000000000215.15706
>>> >> >> 33444512235520
>>> >> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
>>> >> tlog.0000000000000000216.15706
>>> >> >> 33559541022722
>>> >> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
>>> >> tlog.0000000000000000217.15706
>>> >> >> 33678830174208
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
>>> >> tlog.0000000000000000218.15706
>>> >> >> 33796799168513
>>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
>>> >> tlog.0000000000000000219.15706
>>> >> >> 33915684618240
>>> >> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
>>> >> tlog.0000000000000000220.15706
>>> >> >> 34032865083393
>>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
>>> >> tlog.0000000000000000221.15706
>>> >> >> 34135575199745
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
>>> >> tlog.0000000000000000222.15706
>>> >> >> 34250321920001
>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
>>> >> tlog.0000000000000000223.15706
>>> >> >> 34365979852803
>>> >> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
>>> >> tlog.0000000000000000224.15706
>>> >> >> 34471661633536
>>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
>>> >> tlog.0000000000000000225.15706
>>> >> >> 34597027282945
>>> >> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
>>> >> tlog.0000000000000000226.15706
>>> >> >> 34711229792256
>>> >> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
>>> >> tlog.0000000000000000227.15706
>>> >> >> 34815023087616
>>> >> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
>>> >> tlog.0000000000000000228.15706
>>> >> >> 34922535682050
>>> >> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
>>> >> tlog.0000000000000000229.15706
>>> >> >> 35022745993218
>>> >> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
>>> >> tlog.0000000000000000230.15706
>>> >> >> 35137936261120
>>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
>>> >> tlog.0000000000000000231.15706
>>> >> >> 35246269890560
>>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
>>> >> tlog.0000000000000000232.15706
>>> >> >> 35354965278720
>>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
>>> >> tlog.0000000000000000233.15706
>>> >> >> 35478030352385
>>> >> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
>>> >> tlog.0000000000000000234.15706
>>> >> >> 35608948211713
>>> >> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
>>> >> tlog.0000000000000000235.15706
>>> >> >> 35723383504897
>>> >> >>
>>> >> >>
>>> >> >
>>> >> > --
>>> >> >
>>> >> >
>>> >> > This message and any attachment are confidential and may be
>>> privileged or
>>> >> > otherwise protected from disclosure. If you are not the intended
>>> >> recipient,
>>> >> > you must not copy this message or attachment or disclose the
>>> contents to
>>> >> > any other person. If you have received this transmission in error,
>>> please
>>> >> > notify the sender immediately and delete the message and any
>>> attachment
>>> >> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>>> >> > subsidiaries do not accept liability for any omissions or errors in
>>> this
>>> >> > message which may arise as a result of E-Mail-transmission or for
>>> damages
>>> >> > resulting from any unauthorized changes of the content of this
>>> message
>>> >> and
>>> >> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of
>>> its
>>> >> > subsidiaries do not guarantee that this message is free of viruses
>>> and
>>> >> does
>>> >> > not accept liability for any damages caused by any virus transmitted
>>> >> > therewith.
>>> >> >
>>> >> > Click http://www.emdgroup.com/disclaimer to access the German,
>>> French,
>>> >> > Spanish and Portuguese versions of this disclaimer.
>>> >>
>>> >
>>> > --
>>> >
>>> >
>>> > This message and any attachment are confidential and may be privileged
>>> or
>>> > otherwise protected from disclosure. If you are not the intended
>>> recipient,
>>> > you must not copy this message or attachment or disclose the contents
>>> to
>>> > any other person. If you have received this transmission in error,
>>> please
>>> > notify the sender immediately and delete the message and any attachment
>>> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>>> > subsidiaries do not accept liability for any omissions or errors in
>>> this
>>> > message which may arise as a result of E-Mail-transmission or for
>>> damages
>>> > resulting from any unauthorized changes of the content of this message
>>> and
>>> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
>>> > subsidiaries do not guarantee that this message is free of viruses and
>>> does
>>> > not accept liability for any damages caused by any virus transmitted
>>> > therewith.
>>> >
>>> > Click http://www.emdgroup.com/disclaimer to access the German, French,
>>> > Spanish and Portuguese versions of this disclaimer.
>>>
>>
>>
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
It appears right how that we are  not seeing an issue with the target
collections, we definitely see a problem with the source collection.
numRecordsToKeep and maxNumLogsToKeep are set to the default values of 100
and 10 respectively. We probably don't need 10 tlog files around.


On Tue, Jun 27, 2017 at 11:32 AM, Webster Homer <we...@sial.com>
wrote:

> Commits were definitely not happening. We ran out of filesystem space. The
> admins deleted old tlogs and restartd. The collection in question was
> missing a lot of data. We reloaded it, and then we saw some commits. In
> Solrcloud they look like this:
> 2017-06-23 17:28:06.441 INFO  (commitScheduler-56-thread-1)
> [c:sial-content-citations s:shard1 r:core_node2
> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
> start commit{,optimize=false,openSearcher=true,waitSearcher=true,e
> xpungeDeletes=false,softCommit=true,prepareCommit=false}
> 2017-06-23 17:28:07.823 INFO  (commitScheduler-56-thread-1)
> [c:sial-content-citations s:shard1 r:core_node2
> x:sial-content-citations_shard1_replica1] o.a.s.s.SolrIndexSearcher
> Opening [Searcher@1c6a3bf1[sial-content-citations_shard1_replica1] main]
> 2017-06-23 17:28:07.824 INFO  (commitScheduler-56-thread-1)
> [c:sial-content-citations s:shard1 r:core_node2
> x:sial-content-citations_shard1_replica1] o.a.s.u.DirectUpdateHandler2
> end_commit_flush
> 2017-06-23 17:28:49.665 INFO  (commitScheduler-66-thread-1)
> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
> o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSea
> rcher=false,waitSearcher=true,expungeDeletes=false,softCommi
> t=false,prepareCommit=false}
> 2017-06-23 17:28:49.742 INFO  (commitScheduler-66-thread-1)
> [c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
> o.a.s.c.SolrDeletionPolicy SolrDeletionPolicy.onCommit: commits: num=2
> commit{dir=NRTCachingDirectory(MMapDirectory@/var/solr/data/
> ehs-catalog-qmdoc_shard2_replica1/data/index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@597830aa;
> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_2gb,generation=3179}
>
> I have been busy and couldn't get back to this issue until now. The
> problem started happening again. I manually sent a commit and that seemed
> to help for a time. Unfortunately I don't have access to our Production
> solrs. we use logstash for the logs, but not all logs were being captured,
> the commit messages above were not.
>
>
> On Tue, Jun 20, 2017 at 5:34 PM, Erick Erickson <er...@gmail.com>
> wrote:
>
>> bq: Neither in our source collection nor in our target collections.
>>
>> Hmmm. You should see messages similar to the following which I just
>> generated on Solr 6.2 (stand-alone I admit but that code should be the
>> same):
>>
>> INFO  - 2017-06-20 21:11:55.424; [   x:techproducts]
>> org.apache.solr.update.DirectUpdateHandler2; start
>> commit{,optimize=false,openSearcher=false,waitSearcher=true,
>> expungeDeletes=false,softCommit=false,prepareCommit=false}
>>
>> INFO  - 2017-06-20 21:11:55.425; [   x:techproducts]
>> org.apache.solr.update.SolrIndexWriter; Calling setCommitData with
>> IW:org.apache.solr.update.SolrIndexWriter@4862d97c
>>
>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>> org.apache.solr.core.SolrDeletionPolicy; SolrDeletionPolicy.onCommit:
>> commits: num=2
>>
>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>> ache/solrVersions/playspace/solr/example/techproducts/solr/
>> techproducts/data/index
>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c,generation=12}
>>
>> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/ap
>> ache/solrVersions/playspace/solr/example/techproducts/solr/
>> techproducts/data/index
>> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
>> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_d,generation=13}
>>
>> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
>> org.apache.solr.core.SolrDeletionPolicy; newest commit generation = 13
>>
>> INFO  - 2017-06-20 21:11:55.668; [   x:techproducts]
>> org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
>>
>> whenever commits kick in.
>>
>> So how sure are you of your autocommit settings? Is there any chance
>> the sysvar "solr.autoCommit.maxTime" is somehow being set to -1?
>> Unlikely frankly since you have multiple tlogs.
>>
>> Another possibility is that somehow you've changed the number of docs
>> to keep in the transaction logs and the number of transaction logs
>> through:
>> numRecordsToKeep
>> and
>> maxNumLogsToKeep
>>
>> And you'll note that the tlogs stat at 000000082, which means many
>> have been deleted. Does the minimum number keep going up? If that's
>> the case tlogs _are_ being rolled over, just not very often. Why is a
>> mystery of course.
>>
>> So what happens if you issue manual commits on both source and target?
>>
>> It's unlikely that autocommit is totally broken or we'd have heard
>> howls almost immediately. That said the behavior you report is
>> disturbing
>>
>> Best,
>> Erick
>>
>>
>> On Tue, Jun 20, 2017 at 1:37 PM, Webster Homer <we...@sial.com>
>> wrote:
>> > Yes, soft commits are irrelevant for this. What is relevant about soft
>> > commits is that we can search the data.
>> >
>> > We have autoCommit set to 10 minutes and never see tlogs truncated.
>> > Apparently autoCommit doesn't fire, ever.
>> > Neither in our source collection nor in our target collections. The
>> more I
>> > look at this the more I believe it's a solr bug, and a very serious one.
>> > Our ETL jobs don't issue commits as they expect that the autoCommit will
>> > work.
>> >
>> > If autoCommit doesn't work how will cdcr target collections ever get a
>> hard
>> > commit?
>> >
>> > So how can I determine if the commit occurred? It would be nice if the
>> > commit logged a message, I don't see such a message but I don't know
>> what
>> > to look for
>> >
>> > 2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:
>> >
>> >> Maybe irrelevant, but soft commits don't truncate transaction logs,
>> >> only hard commits do (openSearcher true|false doesn't matter).
>> >>
>> >> Full background here:
>> >> https://lucidworks.com/2013/08/23/understanding-
>> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>> >>
>> >> Not entirely sure how that interacts with CDCR mind you..
>> >>
>> >> Best,
>> >> Erick
>> >>
>> >> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
>> >> > :Looking at our cdcr source collection, it too doesn't look like a
>> commit
>> >> > occurred, so I sent one manually.
>> >> > From this I believe that autoCommit isn't working in Solr 6.2
>> >> >
>> >> > Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR
>> you
>> >> > have to have autoCommit. We also have autoSoftCommit set. That seems
>> to
>> >> > work as the data is searchable.
>> >> >
>> >> > Does the commit write a message to the log? How can you tell when a
>> >> commit
>> >> > occurs? As stated above I believe that autoCommit is broken
>> >> >
>> >> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
>> >> >
>> >> >> We have a solr cloud collection that gets a full update every
>> morning,
>> >> via
>> >> >> cdcr replication. We see that the target tlogs do not seem to get
>> >> truncated
>> >> >> or deleted as described here
>> >> >> https://lucidworks.com/2013/08/23/understanding-
>> >> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>> >> >>
>> >> >> I checked we have the cdcr buffer disabled.
>> >> >>
>> >> >> The autoCommit is set to 10 minutes
>> >> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
>> >> >> openSearcher>false</openSearcher> </autoCommit>
>> >> >>
>> >> >> According to the documentation this shouldn't be happening. How can
>> you
>> >> >> tell if commits are really firing? The cores always show current =
>> false
>> >> >> which seems to indicate that commits are not happening
>> >> >>
>> >> >> There is a daily reload of the data that takes about 2 hours, after
>> >> which
>> >> >> I would expect the auto commits would be cleaning up the tlogs this
>> >> doesn't
>> >> >> seem to be happening
>> >> >>
>> >> >> We are running Solr 6.2
>> >> >>
>> >> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
>> >> tlog.0000000000000000082.15699
>> >> >> 98266936852480
>> >> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
>> >> tlog.0000000000000000083.15699
>> >> >> 98387510509568
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
>> >> tlog.0000000000000000084.15699
>> >> >> 98511822340097
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
>> >> tlog.0000000000000000085.15699
>> >> >> 98630444597248
>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
>> >> tlog.0000000000000000086.15699
>> >> >> 98747965849602
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
>> >> tlog.0000000000000000087.15699
>> >> >> 98869097349120
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
>> >> tlog.0000000000000000088.15699
>> >> >> 98991821635584
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
>> >> tlog.0000000000000000089.15699
>> >> >> 99120862543873
>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
>> >> tlog.0000000000000000090.15699
>> >> >> 99251864289280
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
>> >> tlog.0000000000000000091.15699
>> >> >> 99388984475649
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
>> >> tlog.0000000000000000092.15699
>> >> >> 99523820863490
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
>> >> tlog.0000000000000000093.15699
>> >> >> 99646608064513
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
>> >> tlog.0000000000000000094.15699
>> >> >> 99769813647360
>> >> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
>> >> tlog.0000000000000000095.15699
>> >> >> 99894280667137
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
>> >> tlog.0000000000000000096.15700
>> >> >> 00010283581441
>> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
>> >> tlog.0000000000000000097.15700
>> >> >> 00129089339392
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
>> >> tlog.0000000000000000098.15700
>> >> >> 00248878661633
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
>> >> tlog.0000000000000000099.15700
>> >> >> 00369279303680
>> >> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
>> >> tlog.0000000000000000100.15700
>> >> >> 00508478816256
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
>> >> tlog.0000000000000000101.15700
>> >> >> 00624750166017
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
>> >> tlog.0000000000000000102.15700
>> >> >> 00748410830848
>> >> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
>> >> tlog.0000000000000000103.15700
>> >> >> 00871066959875
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
>> >> tlog.0000000000000000104.15700
>> >> >> 00998950240256
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
>> >> tlog.0000000000000000105.15700
>> >> >> 01121887387650
>> >> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
>> >> tlog.0000000000000000106.15700
>> >> >> 01256208924672
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
>> >> tlog.0000000000000000107.15700
>> >> >> 01389587791873
>> >> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
>> >> tlog.0000000000000000108.15700
>> >> >> 01520912498688
>> >> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
>> >> tlog.0000000000000000109.15700
>> >> >> 88922160037888
>> >> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
>> >> tlog.0000000000000000110.15700
>> >> >> 89052763324416
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
>> >> tlog.0000000000000000111.15700
>> >> >> 89163823251456
>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
>> >> tlog.0000000000000000112.15700
>> >> >> 89279604916232
>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
>> >> tlog.0000000000000000113.15700
>> >> >> 89396394262528
>> >> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
>> >> tlog.0000000000000000114.15700
>> >> >> 89522649104386
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
>> >> tlog.0000000000000000115.15700
>> >> >> 89646671527937
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
>> >> tlog.0000000000000000116.15700
>> >> >> 89784991285251
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
>> >> tlog.0000000000000000117.15700
>> >> >> 89912654364672
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
>> >> tlog.0000000000000000118.15700
>> >> >> 90038066151424
>> >> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
>> >> tlog.0000000000000000119.15700
>> >> >> 90169766248449
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
>> >> tlog.0000000000000000120.15700
>> >> >> 90295142383616
>> >> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
>> >> tlog.0000000000000000121.15700
>> >> >> 90421449654272
>> >> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
>> >> tlog.0000000000000000122.15700
>> >> >> 90542827569154
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
>> >> tlog.0000000000000000123.15700
>> >> >> 90650884374530
>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
>> >> tlog.0000000000000000124.15700
>> >> >> 90782145118209
>> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
>> >> tlog.0000000000000000125.15700
>> >> >> 90919577780224
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
>> >> tlog.0000000000000000126.15700
>> >> >> 91056993665025
>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
>> >> tlog.0000000000000000127.15700
>> >> >> 91185511333891
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
>> >> tlog.0000000000000000128.15700
>> >> >> 91307219550211
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
>> >> tlog.0000000000000000129.15700
>> >> >> 91430609682433
>> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
>> >> tlog.0000000000000000130.15700
>> >> >> 91553711456256
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
>> >> tlog.0000000000000000131.15700
>> >> >> 91679935889410
>> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
>> >> tlog.0000000000000000132.15700
>> >> >> 91806594433024
>> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
>> >> tlog.0000000000000000133.15700
>> >> >> 91928757731328
>> >> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
>> >> tlog.0000000000000000134.15700
>> >> >> 92057357189123
>> >> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
>> >> tlog.0000000000000000135.15700
>> >> >> 92201294168065
>> >> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
>> >> tlog.0000000000000000136.15700
>> >> >> 92359713030145
>> >> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
>> >> tlog.0000000000000000137.15701
>> >> >> 79678509989888
>> >> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
>> >> tlog.0000000000000000138.15701
>> >> >> 79804288778244
>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
>> >> tlog.0000000000000000139.15701
>> >> >> 79914307469314
>> >> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
>> >> tlog.0000000000000000140.15701
>> >> >> 80027872444417
>> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
>> >> tlog.0000000000000000141.15701
>> >> >> 80143976022017
>> >> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
>> >> tlog.0000000000000000142.15701
>> >> >> 80259345596416
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
>> >> tlog.0000000000000000143.15701
>> >> >> 80380134211585
>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
>> >> tlog.0000000000000000144.15701
>> >> >> 80512045072385
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
>> >> tlog.0000000000000000145.15701
>> >> >> 80636449177601
>> >> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
>> >> tlog.0000000000000000146.15701
>> >> >> 80765257302016
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
>> >> tlog.0000000000000000147.15701
>> >> >> 80894815158273
>> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
>> >> tlog.0000000000000000148.15701
>> >> >> 81023165054978
>> >> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
>> >> tlog.0000000000000000187.15702
>> >> >> 72543776964609
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
>> >> tlog.0000000000000000188.15702
>> >> >> 72675052388353
>> >> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
>> >> tlog.0000000000000000189.15702
>> >> >> 72803043672065
>> >> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
>> >> tlog.0000000000000000190.15702
>> >> >> 72922861305857
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
>> >> tlog.0000000000000000191.15702
>> >> >> 73044701642753
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
>> >> tlog.0000000000000000192.15702
>> >> >> 73167724773376
>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
>> >> tlog.0000000000000000193.15702
>> >> >> 73287885291521
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
>> >> tlog.0000000000000000194.15702
>> >> >> 73416424980480
>> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
>> >> tlog.0000000000000000195.15702
>> >> >> 73565833428992
>> >> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
>> >> tlog.0000000000000000196.15702
>> >> >> 73715471515649
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
>> >> tlog.0000000000000000197.15702
>> >> >> 73842866159616
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
>> >> tlog.0000000000000000198.15702
>> >> >> 73971062964225
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
>> >> tlog.0000000000000000199.15702
>> >> >> 74102467362816
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
>> >> tlog.0000000000000000200.15702
>> >> >> 74251744739328
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
>> >> tlog.0000000000000000201.15702
>> >> >> 74384063496193
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
>> >> tlog.0000000000000000202.15702
>> >> >> 74518247669765
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
>> >> tlog.0000000000000000203.15702
>> >> >> 74652498952192
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
>> >> tlog.0000000000000000204.15702
>> >> >> 74781412982785
>> >> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
>> >> tlog.0000000000000000205.15702
>> >> >> 74907584987136
>> >> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
>> >> tlog.0000000000000000206.15703
>> >> >> 60855149674496
>> >> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
>> >> tlog.0000000000000000207.15706
>> >> >> 32564662599680
>> >> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
>> >> tlog.0000000000000000208.15706
>> >> >> 32675203481600
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
>> >> tlog.0000000000000000209.15706
>> >> >> 32782571372544
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
>> >> tlog.0000000000000000210.15706
>> >> >> 32886154952706
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
>> >> tlog.0000000000000000211.15706
>> >> >> 32992137674754
>> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
>> >> tlog.0000000000000000212.15706
>> >> >> 33103262613505
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
>> >> tlog.0000000000000000213.15706
>> >> >> 33212055519233
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
>> >> tlog.0000000000000000214.15706
>> >> >> 33334366666752
>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
>> >> tlog.0000000000000000215.15706
>> >> >> 33444512235520
>> >> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
>> >> tlog.0000000000000000216.15706
>> >> >> 33559541022722
>> >> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
>> >> tlog.0000000000000000217.15706
>> >> >> 33678830174208
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
>> >> tlog.0000000000000000218.15706
>> >> >> 33796799168513
>> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
>> >> tlog.0000000000000000219.15706
>> >> >> 33915684618240
>> >> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
>> >> tlog.0000000000000000220.15706
>> >> >> 34032865083393
>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
>> >> tlog.0000000000000000221.15706
>> >> >> 34135575199745
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
>> >> tlog.0000000000000000222.15706
>> >> >> 34250321920001
>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
>> >> tlog.0000000000000000223.15706
>> >> >> 34365979852803
>> >> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
>> >> tlog.0000000000000000224.15706
>> >> >> 34471661633536
>> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
>> >> tlog.0000000000000000225.15706
>> >> >> 34597027282945
>> >> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
>> >> tlog.0000000000000000226.15706
>> >> >> 34711229792256
>> >> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
>> >> tlog.0000000000000000227.15706
>> >> >> 34815023087616
>> >> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
>> >> tlog.0000000000000000228.15706
>> >> >> 34922535682050
>> >> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
>> >> tlog.0000000000000000229.15706
>> >> >> 35022745993218
>> >> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
>> >> tlog.0000000000000000230.15706
>> >> >> 35137936261120
>> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
>> >> tlog.0000000000000000231.15706
>> >> >> 35246269890560
>> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
>> >> tlog.0000000000000000232.15706
>> >> >> 35354965278720
>> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
>> >> tlog.0000000000000000233.15706
>> >> >> 35478030352385
>> >> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
>> >> tlog.0000000000000000234.15706
>> >> >> 35608948211713
>> >> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
>> >> tlog.0000000000000000235.15706
>> >> >> 35723383504897
>> >> >>
>> >> >>
>> >> >
>> >> > --
>> >> >
>> >> >
>> >> > This message and any attachment are confidential and may be
>> privileged or
>> >> > otherwise protected from disclosure. If you are not the intended
>> >> recipient,
>> >> > you must not copy this message or attachment or disclose the
>> contents to
>> >> > any other person. If you have received this transmission in error,
>> please
>> >> > notify the sender immediately and delete the message and any
>> attachment
>> >> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>> >> > subsidiaries do not accept liability for any omissions or errors in
>> this
>> >> > message which may arise as a result of E-Mail-transmission or for
>> damages
>> >> > resulting from any unauthorized changes of the content of this
>> message
>> >> and
>> >> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
>> >> > subsidiaries do not guarantee that this message is free of viruses
>> and
>> >> does
>> >> > not accept liability for any damages caused by any virus transmitted
>> >> > therewith.
>> >> >
>> >> > Click http://www.emdgroup.com/disclaimer to access the German,
>> French,
>> >> > Spanish and Portuguese versions of this disclaimer.
>> >>
>> >
>> > --
>> >
>> >
>> > This message and any attachment are confidential and may be privileged
>> or
>> > otherwise protected from disclosure. If you are not the intended
>> recipient,
>> > you must not copy this message or attachment or disclose the contents to
>> > any other person. If you have received this transmission in error,
>> please
>> > notify the sender immediately and delete the message and any attachment
>> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>> > subsidiaries do not accept liability for any omissions or errors in this
>> > message which may arise as a result of E-Mail-transmission or for
>> damages
>> > resulting from any unauthorized changes of the content of this message
>> and
>> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
>> > subsidiaries do not guarantee that this message is free of viruses and
>> does
>> > not accept liability for any damages caused by any virus transmitted
>> > therewith.
>> >
>> > Click http://www.emdgroup.com/disclaimer to access the German, French,
>> > Spanish and Portuguese versions of this disclaimer.
>>
>
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
Commits were definitely not happening. We ran out of filesystem space. The
admins deleted old tlogs and restartd. The collection in question was
missing a lot of data. We reloaded it, and then we saw some commits. In
Solrcloud they look like this:
2017-06-23 17:28:06.441 INFO  (commitScheduler-56-thread-1)
[c:sial-content-citations s:shard1 r:core_node2
x:sial-content-citations_shard1_replica1]
o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,openSearcher=true,
waitSearcher=true,expungeDeletes=false,softCommit=true,prepareCommit=false}
2017-06-23 17:28:07.823 INFO  (commitScheduler-56-thread-1)
[c:sial-content-citations s:shard1 r:core_node2
x:sial-content-citations_shard1_replica1]
o.a.s.s.SolrIndexSearcher Opening [Searcher@1c6a3bf1[sial-
content-citations_shard1_replica1] main]
2017-06-23 17:28:07.824 INFO  (commitScheduler-56-thread-1)
[c:sial-content-citations s:shard1 r:core_node2
x:sial-content-citations_shard1_replica1]
o.a.s.u.DirectUpdateHandler2 end_commit_flush
2017-06-23 17:28:49.665 INFO  (commitScheduler-66-thread-1)
[c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
o.a.s.u.DirectUpdateHandler2 start commit{,optimize=false,
openSearcher=false,waitSearcher=true,expungeDeletes=false,softCommit=false,
prepareCommit=false}
2017-06-23 17:28:49.742 INFO  (commitScheduler-66-thread-1)
[c:ehs-catalog-qmdoc s:shard2 r:core_node2 x:ehs-catalog-qmdoc_shard2_replica1]
o.a.s.c.SolrDeletionPolicy SolrDeletionPolicy.onCommit: commits: num=2
commit{dir=NRTCachingDirectory(MMapDirectory@/var/solr/data/
ehs-catalog-qmdoc_shard2_replica1/data/index lockFactory=org.apache.lucene.
store.NativeFSLockFactory@597830aa; maxCacheMB=48.0
maxMergeSizeMB=4.0),segFN=segments_2gb,generation=3179}

I have been busy and couldn't get back to this issue until now. The problem
started happening again. I manually sent a commit and that seemed to help
for a time. Unfortunately I don't have access to our Production solrs. we
use logstash for the logs, but not all logs were being captured, the commit
messages above were not.


On Tue, Jun 20, 2017 at 5:34 PM, Erick Erickson <er...@gmail.com>
wrote:

> bq: Neither in our source collection nor in our target collections.
>
> Hmmm. You should see messages similar to the following which I just
> generated on Solr 6.2 (stand-alone I admit but that code should be the
> same):
>
> INFO  - 2017-06-20 21:11:55.424; [   x:techproducts]
> org.apache.solr.update.DirectUpdateHandler2; start
> commit{,optimize=false,openSearcher=false,waitSearcher=true,
> expungeDeletes=false,softCommit=false,prepareCommit=false}
>
> INFO  - 2017-06-20 21:11:55.425; [   x:techproducts]
> org.apache.solr.update.SolrIndexWriter; Calling setCommitData with
> IW:org.apache.solr.update.SolrIndexWriter@4862d97c
>
> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
> org.apache.solr.core.SolrDeletionPolicy; SolrDeletionPolicy.onCommit:
> commits: num=2
>
> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/
> apache/solrVersions/playspace/solr/example/techproducts/
> solr/techproducts/data/index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c,generation=12}
>
> commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/
> apache/solrVersions/playspace/solr/example/techproducts/
> solr/techproducts/data/index
> lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
> maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_d,generation=13}
>
> INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
> org.apache.solr.core.SolrDeletionPolicy; newest commit generation = 13
>
> INFO  - 2017-06-20 21:11:55.668; [   x:techproducts]
> org.apache.solr.update.DirectUpdateHandler2; end_commit_flush
>
> whenever commits kick in.
>
> So how sure are you of your autocommit settings? Is there any chance
> the sysvar "solr.autoCommit.maxTime" is somehow being set to -1?
> Unlikely frankly since you have multiple tlogs.
>
> Another possibility is that somehow you've changed the number of docs
> to keep in the transaction logs and the number of transaction logs
> through:
> numRecordsToKeep
> and
> maxNumLogsToKeep
>
> And you'll note that the tlogs stat at 000000082, which means many
> have been deleted. Does the minimum number keep going up? If that's
> the case tlogs _are_ being rolled over, just not very often. Why is a
> mystery of course.
>
> So what happens if you issue manual commits on both source and target?
>
> It's unlikely that autocommit is totally broken or we'd have heard
> howls almost immediately. That said the behavior you report is
> disturbing
>
> Best,
> Erick
>
>
> On Tue, Jun 20, 2017 at 1:37 PM, Webster Homer <we...@sial.com>
> wrote:
> > Yes, soft commits are irrelevant for this. What is relevant about soft
> > commits is that we can search the data.
> >
> > We have autoCommit set to 10 minutes and never see tlogs truncated.
> > Apparently autoCommit doesn't fire, ever.
> > Neither in our source collection nor in our target collections. The more
> I
> > look at this the more I believe it's a solr bug, and a very serious one.
> > Our ETL jobs don't issue commits as they expect that the autoCommit will
> > work.
> >
> > If autoCommit doesn't work how will cdcr target collections ever get a
> hard
> > commit?
> >
> > So how can I determine if the commit occurred? It would be nice if the
> > commit logged a message, I don't see such a message but I don't know what
> > to look for
> >
> > 2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:
> >
> >> Maybe irrelevant, but soft commits don't truncate transaction logs,
> >> only hard commits do (openSearcher true|false doesn't matter).
> >>
> >> Full background here:
> >> https://lucidworks.com/2013/08/23/understanding-
> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
> >>
> >> Not entirely sure how that interacts with CDCR mind you..
> >>
> >> Best,
> >> Erick
> >>
> >> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
> >> > :Looking at our cdcr source collection, it too doesn't look like a
> commit
> >> > occurred, so I sent one manually.
> >> > From this I believe that autoCommit isn't working in Solr 6.2
> >> >
> >> > Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR
> you
> >> > have to have autoCommit. We also have autoSoftCommit set. That seems
> to
> >> > work as the data is searchable.
> >> >
> >> > Does the commit write a message to the log? How can you tell when a
> >> commit
> >> > occurs? As stated above I believe that autoCommit is broken
> >> >
> >> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
> >> >
> >> >> We have a solr cloud collection that gets a full update every
> morning,
> >> via
> >> >> cdcr replication. We see that the target tlogs do not seem to get
> >> truncated
> >> >> or deleted as described here
> >> >> https://lucidworks.com/2013/08/23/understanding-
> >> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
> >> >>
> >> >> I checked we have the cdcr buffer disabled.
> >> >>
> >> >> The autoCommit is set to 10 minutes
> >> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
> >> >> openSearcher>false</openSearcher> </autoCommit>
> >> >>
> >> >> According to the documentation this shouldn't be happening. How can
> you
> >> >> tell if commits are really firing? The cores always show current =
> false
> >> >> which seems to indicate that commits are not happening
> >> >>
> >> >> There is a daily reload of the data that takes about 2 hours, after
> >> which
> >> >> I would expect the auto commits would be cleaning up the tlogs this
> >> doesn't
> >> >> seem to be happening
> >> >>
> >> >> We are running Solr 6.2
> >> >>
> >> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
> >> tlog.0000000000000000082.15699
> >> >> 98266936852480
> >> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
> >> tlog.0000000000000000083.15699
> >> >> 98387510509568
> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
> >> tlog.0000000000000000084.15699
> >> >> 98511822340097
> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
> >> tlog.0000000000000000085.15699
> >> >> 98630444597248
> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
> >> tlog.0000000000000000086.15699
> >> >> 98747965849602
> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
> >> tlog.0000000000000000087.15699
> >> >> 98869097349120
> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
> >> tlog.0000000000000000088.15699
> >> >> 98991821635584
> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
> >> tlog.0000000000000000089.15699
> >> >> 99120862543873
> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
> >> tlog.0000000000000000090.15699
> >> >> 99251864289280
> >> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
> >> tlog.0000000000000000091.15699
> >> >> 99388984475649
> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
> >> tlog.0000000000000000092.15699
> >> >> 99523820863490
> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
> >> tlog.0000000000000000093.15699
> >> >> 99646608064513
> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
> >> tlog.0000000000000000094.15699
> >> >> 99769813647360
> >> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
> >> tlog.0000000000000000095.15699
> >> >> 99894280667137
> >> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
> >> tlog.0000000000000000096.15700
> >> >> 00010283581441
> >> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
> >> tlog.0000000000000000097.15700
> >> >> 00129089339392
> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
> >> tlog.0000000000000000098.15700
> >> >> 00248878661633
> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
> >> tlog.0000000000000000099.15700
> >> >> 00369279303680
> >> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
> >> tlog.0000000000000000100.15700
> >> >> 00508478816256
> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
> >> tlog.0000000000000000101.15700
> >> >> 00624750166017
> >> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
> >> tlog.0000000000000000102.15700
> >> >> 00748410830848
> >> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
> >> tlog.0000000000000000103.15700
> >> >> 00871066959875
> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
> >> tlog.0000000000000000104.15700
> >> >> 00998950240256
> >> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
> >> tlog.0000000000000000105.15700
> >> >> 01121887387650
> >> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
> >> tlog.0000000000000000106.15700
> >> >> 01256208924672
> >> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
> >> tlog.0000000000000000107.15700
> >> >> 01389587791873
> >> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
> >> tlog.0000000000000000108.15700
> >> >> 01520912498688
> >> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
> >> tlog.0000000000000000109.15700
> >> >> 88922160037888
> >> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
> >> tlog.0000000000000000110.15700
> >> >> 89052763324416
> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
> >> tlog.0000000000000000111.15700
> >> >> 89163823251456
> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
> >> tlog.0000000000000000112.15700
> >> >> 89279604916232
> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
> >> tlog.0000000000000000113.15700
> >> >> 89396394262528
> >> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
> >> tlog.0000000000000000114.15700
> >> >> 89522649104386
> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
> >> tlog.0000000000000000115.15700
> >> >> 89646671527937
> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
> >> tlog.0000000000000000116.15700
> >> >> 89784991285251
> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
> >> tlog.0000000000000000117.15700
> >> >> 89912654364672
> >> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
> >> tlog.0000000000000000118.15700
> >> >> 90038066151424
> >> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
> >> tlog.0000000000000000119.15700
> >> >> 90169766248449
> >> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
> >> tlog.0000000000000000120.15700
> >> >> 90295142383616
> >> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
> >> tlog.0000000000000000121.15700
> >> >> 90421449654272
> >> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
> >> tlog.0000000000000000122.15700
> >> >> 90542827569154
> >> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
> >> tlog.0000000000000000123.15700
> >> >> 90650884374530
> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
> >> tlog.0000000000000000124.15700
> >> >> 90782145118209
> >> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
> >> tlog.0000000000000000125.15700
> >> >> 90919577780224
> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
> >> tlog.0000000000000000126.15700
> >> >> 91056993665025
> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
> >> tlog.0000000000000000127.15700
> >> >> 91185511333891
> >> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
> >> tlog.0000000000000000128.15700
> >> >> 91307219550211
> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
> >> tlog.0000000000000000129.15700
> >> >> 91430609682433
> >> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
> >> tlog.0000000000000000130.15700
> >> >> 91553711456256
> >> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
> >> tlog.0000000000000000131.15700
> >> >> 91679935889410
> >> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
> >> tlog.0000000000000000132.15700
> >> >> 91806594433024
> >> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
> >> tlog.0000000000000000133.15700
> >> >> 91928757731328
> >> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
> >> tlog.0000000000000000134.15700
> >> >> 92057357189123
> >> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
> >> tlog.0000000000000000135.15700
> >> >> 92201294168065
> >> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
> >> tlog.0000000000000000136.15700
> >> >> 92359713030145
> >> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
> >> tlog.0000000000000000137.15701
> >> >> 79678509989888
> >> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
> >> tlog.0000000000000000138.15701
> >> >> 79804288778244
> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
> >> tlog.0000000000000000139.15701
> >> >> 79914307469314
> >> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
> >> tlog.0000000000000000140.15701
> >> >> 80027872444417
> >> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
> >> tlog.0000000000000000141.15701
> >> >> 80143976022017
> >> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
> >> tlog.0000000000000000142.15701
> >> >> 80259345596416
> >> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
> >> tlog.0000000000000000143.15701
> >> >> 80380134211585
> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
> >> tlog.0000000000000000144.15701
> >> >> 80512045072385
> >> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
> >> tlog.0000000000000000145.15701
> >> >> 80636449177601
> >> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
> >> tlog.0000000000000000146.15701
> >> >> 80765257302016
> >> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
> >> tlog.0000000000000000147.15701
> >> >> 80894815158273
> >> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
> >> tlog.0000000000000000148.15701
> >> >> 81023165054978
> >> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
> >> tlog.0000000000000000187.15702
> >> >> 72543776964609
> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
> >> tlog.0000000000000000188.15702
> >> >> 72675052388353
> >> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
> >> tlog.0000000000000000189.15702
> >> >> 72803043672065
> >> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
> >> tlog.0000000000000000190.15702
> >> >> 72922861305857
> >> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
> >> tlog.0000000000000000191.15702
> >> >> 73044701642753
> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
> >> tlog.0000000000000000192.15702
> >> >> 73167724773376
> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
> >> tlog.0000000000000000193.15702
> >> >> 73287885291521
> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
> >> tlog.0000000000000000194.15702
> >> >> 73416424980480
> >> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
> >> tlog.0000000000000000195.15702
> >> >> 73565833428992
> >> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
> >> tlog.0000000000000000196.15702
> >> >> 73715471515649
> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
> >> tlog.0000000000000000197.15702
> >> >> 73842866159616
> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
> >> tlog.0000000000000000198.15702
> >> >> 73971062964225
> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
> >> tlog.0000000000000000199.15702
> >> >> 74102467362816
> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
> >> tlog.0000000000000000200.15702
> >> >> 74251744739328
> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
> >> tlog.0000000000000000201.15702
> >> >> 74384063496193
> >> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
> >> tlog.0000000000000000202.15702
> >> >> 74518247669765
> >> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
> >> tlog.0000000000000000203.15702
> >> >> 74652498952192
> >> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
> >> tlog.0000000000000000204.15702
> >> >> 74781412982785
> >> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
> >> tlog.0000000000000000205.15702
> >> >> 74907584987136
> >> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
> >> tlog.0000000000000000206.15703
> >> >> 60855149674496
> >> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
> >> tlog.0000000000000000207.15706
> >> >> 32564662599680
> >> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
> >> tlog.0000000000000000208.15706
> >> >> 32675203481600
> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
> >> tlog.0000000000000000209.15706
> >> >> 32782571372544
> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
> >> tlog.0000000000000000210.15706
> >> >> 32886154952706
> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
> >> tlog.0000000000000000211.15706
> >> >> 32992137674754
> >> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
> >> tlog.0000000000000000212.15706
> >> >> 33103262613505
> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
> >> tlog.0000000000000000213.15706
> >> >> 33212055519233
> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
> >> tlog.0000000000000000214.15706
> >> >> 33334366666752
> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
> >> tlog.0000000000000000215.15706
> >> >> 33444512235520
> >> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
> >> tlog.0000000000000000216.15706
> >> >> 33559541022722
> >> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
> >> tlog.0000000000000000217.15706
> >> >> 33678830174208
> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
> >> tlog.0000000000000000218.15706
> >> >> 33796799168513
> >> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
> >> tlog.0000000000000000219.15706
> >> >> 33915684618240
> >> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
> >> tlog.0000000000000000220.15706
> >> >> 34032865083393
> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
> >> tlog.0000000000000000221.15706
> >> >> 34135575199745
> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
> >> tlog.0000000000000000222.15706
> >> >> 34250321920001
> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
> >> tlog.0000000000000000223.15706
> >> >> 34365979852803
> >> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
> >> tlog.0000000000000000224.15706
> >> >> 34471661633536
> >> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
> >> tlog.0000000000000000225.15706
> >> >> 34597027282945
> >> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
> >> tlog.0000000000000000226.15706
> >> >> 34711229792256
> >> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
> >> tlog.0000000000000000227.15706
> >> >> 34815023087616
> >> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
> >> tlog.0000000000000000228.15706
> >> >> 34922535682050
> >> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
> >> tlog.0000000000000000229.15706
> >> >> 35022745993218
> >> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
> >> tlog.0000000000000000230.15706
> >> >> 35137936261120
> >> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
> >> tlog.0000000000000000231.15706
> >> >> 35246269890560
> >> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
> >> tlog.0000000000000000232.15706
> >> >> 35354965278720
> >> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
> >> tlog.0000000000000000233.15706
> >> >> 35478030352385
> >> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
> >> tlog.0000000000000000234.15706
> >> >> 35608948211713
> >> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
> >> tlog.0000000000000000235.15706
> >> >> 35723383504897
> >> >>
> >> >>
> >> >
> >> > --
> >> >
> >> >
> >> > This message and any attachment are confidential and may be
> privileged or
> >> > otherwise protected from disclosure. If you are not the intended
> >> recipient,
> >> > you must not copy this message or attachment or disclose the contents
> to
> >> > any other person. If you have received this transmission in error,
> please
> >> > notify the sender immediately and delete the message and any
> attachment
> >> > from your system. Merck KGaA, Darmstadt, Germany and any of its
> >> > subsidiaries do not accept liability for any omissions or errors in
> this
> >> > message which may arise as a result of E-Mail-transmission or for
> damages
> >> > resulting from any unauthorized changes of the content of this message
> >> and
> >> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
> >> > subsidiaries do not guarantee that this message is free of viruses and
> >> does
> >> > not accept liability for any damages caused by any virus transmitted
> >> > therewith.
> >> >
> >> > Click http://www.emdgroup.com/disclaimer to access the German,
> French,
> >> > Spanish and Portuguese versions of this disclaimer.
> >>
> >
> > --
> >
> >
> > This message and any attachment are confidential and may be privileged or
> > otherwise protected from disclosure. If you are not the intended
> recipient,
> > you must not copy this message or attachment or disclose the contents to
> > any other person. If you have received this transmission in error, please
> > notify the sender immediately and delete the message and any attachment
> > from your system. Merck KGaA, Darmstadt, Germany and any of its
> > subsidiaries do not accept liability for any omissions or errors in this
> > message which may arise as a result of E-Mail-transmission or for damages
> > resulting from any unauthorized changes of the content of this message
> and
> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
> > subsidiaries do not guarantee that this message is free of viruses and
> does
> > not accept liability for any damages caused by any virus transmitted
> > therewith.
> >
> > Click http://www.emdgroup.com/disclaimer to access the German, French,
> > Spanish and Portuguese versions of this disclaimer.
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Erick Erickson <er...@gmail.com>.
bq: Neither in our source collection nor in our target collections.

Hmmm. You should see messages similar to the following which I just
generated on Solr 6.2 (stand-alone I admit but that code should be the
same):

INFO  - 2017-06-20 21:11:55.424; [   x:techproducts]
org.apache.solr.update.DirectUpdateHandler2; start
commit{,optimize=false,openSearcher=false,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}

INFO  - 2017-06-20 21:11:55.425; [   x:techproducts]
org.apache.solr.update.SolrIndexWriter; Calling setCommitData with
IW:org.apache.solr.update.SolrIndexWriter@4862d97c

INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
org.apache.solr.core.SolrDeletionPolicy; SolrDeletionPolicy.onCommit:
commits: num=2

commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/apache/solrVersions/playspace/solr/example/techproducts/solr/techproducts/data/index
lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_c,generation=12}

commit{dir=NRTCachingDirectory(MMapDirectory@/Users/Erick/apache/solrVersions/playspace/solr/example/techproducts/solr/techproducts/data/index
lockFactory=org.apache.lucene.store.NativeFSLockFactory@3d8e7c06;
maxCacheMB=48.0 maxMergeSizeMB=4.0),segFN=segments_d,generation=13}

INFO  - 2017-06-20 21:11:55.663; [   x:techproducts]
org.apache.solr.core.SolrDeletionPolicy; newest commit generation = 13

INFO  - 2017-06-20 21:11:55.668; [   x:techproducts]
org.apache.solr.update.DirectUpdateHandler2; end_commit_flush

whenever commits kick in.

So how sure are you of your autocommit settings? Is there any chance
the sysvar "solr.autoCommit.maxTime" is somehow being set to -1?
Unlikely frankly since you have multiple tlogs.

Another possibility is that somehow you've changed the number of docs
to keep in the transaction logs and the number of transaction logs
through:
numRecordsToKeep
and
maxNumLogsToKeep

And you'll note that the tlogs stat at 000000082, which means many
have been deleted. Does the minimum number keep going up? If that's
the case tlogs _are_ being rolled over, just not very often. Why is a
mystery of course.

So what happens if you issue manual commits on both source and target?

It's unlikely that autocommit is totally broken or we'd have heard
howls almost immediately. That said the behavior you report is
disturbing

Best,
Erick


On Tue, Jun 20, 2017 at 1:37 PM, Webster Homer <we...@sial.com> wrote:
> Yes, soft commits are irrelevant for this. What is relevant about soft
> commits is that we can search the data.
>
> We have autoCommit set to 10 minutes and never see tlogs truncated.
> Apparently autoCommit doesn't fire, ever.
> Neither in our source collection nor in our target collections. The more I
> look at this the more I believe it's a solr bug, and a very serious one.
> Our ETL jobs don't issue commits as they expect that the autoCommit will
> work.
>
> If autoCommit doesn't work how will cdcr target collections ever get a hard
> commit?
>
> So how can I determine if the commit occurred? It would be nice if the
> commit logged a message, I don't see such a message but I don't know what
> to look for
>
> 2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:
>
>> Maybe irrelevant, but soft commits don't truncate transaction logs,
>> only hard commits do (openSearcher true|false doesn't matter).
>>
>> Full background here:
>> https://lucidworks.com/2013/08/23/understanding-
>> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>
>> Not entirely sure how that interacts with CDCR mind you..
>>
>> Best,
>> Erick
>>
>> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
>> > :Looking at our cdcr source collection, it too doesn't look like a commit
>> > occurred, so I sent one manually.
>> > From this I believe that autoCommit isn't working in Solr 6.2
>> >
>> > Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR you
>> > have to have autoCommit. We also have autoSoftCommit set. That seems to
>> > work as the data is searchable.
>> >
>> > Does the commit write a message to the log? How can you tell when a
>> commit
>> > occurs? As stated above I believe that autoCommit is broken
>> >
>> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
>> >
>> >> We have a solr cloud collection that gets a full update every morning,
>> via
>> >> cdcr replication. We see that the target tlogs do not seem to get
>> truncated
>> >> or deleted as described here
>> >> https://lucidworks.com/2013/08/23/understanding-
>> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
>> >>
>> >> I checked we have the cdcr buffer disabled.
>> >>
>> >> The autoCommit is set to 10 minutes
>> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
>> >> openSearcher>false</openSearcher> </autoCommit>
>> >>
>> >> According to the documentation this shouldn't be happening. How can you
>> >> tell if commits are really firing? The cores always show current = false
>> >> which seems to indicate that commits are not happening
>> >>
>> >> There is a daily reload of the data that takes about 2 hours, after
>> which
>> >> I would expect the auto commits would be cleaning up the tlogs this
>> doesn't
>> >> seem to be happening
>> >>
>> >> We are running Solr 6.2
>> >>
>> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
>> tlog.0000000000000000082.15699
>> >> 98266936852480
>> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
>> tlog.0000000000000000083.15699
>> >> 98387510509568
>> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
>> tlog.0000000000000000084.15699
>> >> 98511822340097
>> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
>> tlog.0000000000000000085.15699
>> >> 98630444597248
>> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
>> tlog.0000000000000000086.15699
>> >> 98747965849602
>> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
>> tlog.0000000000000000087.15699
>> >> 98869097349120
>> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
>> tlog.0000000000000000088.15699
>> >> 98991821635584
>> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
>> tlog.0000000000000000089.15699
>> >> 99120862543873
>> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
>> tlog.0000000000000000090.15699
>> >> 99251864289280
>> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
>> tlog.0000000000000000091.15699
>> >> 99388984475649
>> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
>> tlog.0000000000000000092.15699
>> >> 99523820863490
>> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
>> tlog.0000000000000000093.15699
>> >> 99646608064513
>> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
>> tlog.0000000000000000094.15699
>> >> 99769813647360
>> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
>> tlog.0000000000000000095.15699
>> >> 99894280667137
>> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
>> tlog.0000000000000000096.15700
>> >> 00010283581441
>> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
>> tlog.0000000000000000097.15700
>> >> 00129089339392
>> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
>> tlog.0000000000000000098.15700
>> >> 00248878661633
>> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
>> tlog.0000000000000000099.15700
>> >> 00369279303680
>> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
>> tlog.0000000000000000100.15700
>> >> 00508478816256
>> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
>> tlog.0000000000000000101.15700
>> >> 00624750166017
>> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
>> tlog.0000000000000000102.15700
>> >> 00748410830848
>> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
>> tlog.0000000000000000103.15700
>> >> 00871066959875
>> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
>> tlog.0000000000000000104.15700
>> >> 00998950240256
>> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
>> tlog.0000000000000000105.15700
>> >> 01121887387650
>> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
>> tlog.0000000000000000106.15700
>> >> 01256208924672
>> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
>> tlog.0000000000000000107.15700
>> >> 01389587791873
>> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
>> tlog.0000000000000000108.15700
>> >> 01520912498688
>> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
>> tlog.0000000000000000109.15700
>> >> 88922160037888
>> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
>> tlog.0000000000000000110.15700
>> >> 89052763324416
>> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
>> tlog.0000000000000000111.15700
>> >> 89163823251456
>> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
>> tlog.0000000000000000112.15700
>> >> 89279604916232
>> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
>> tlog.0000000000000000113.15700
>> >> 89396394262528
>> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
>> tlog.0000000000000000114.15700
>> >> 89522649104386
>> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
>> tlog.0000000000000000115.15700
>> >> 89646671527937
>> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
>> tlog.0000000000000000116.15700
>> >> 89784991285251
>> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
>> tlog.0000000000000000117.15700
>> >> 89912654364672
>> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
>> tlog.0000000000000000118.15700
>> >> 90038066151424
>> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
>> tlog.0000000000000000119.15700
>> >> 90169766248449
>> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
>> tlog.0000000000000000120.15700
>> >> 90295142383616
>> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
>> tlog.0000000000000000121.15700
>> >> 90421449654272
>> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
>> tlog.0000000000000000122.15700
>> >> 90542827569154
>> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
>> tlog.0000000000000000123.15700
>> >> 90650884374530
>> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
>> tlog.0000000000000000124.15700
>> >> 90782145118209
>> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
>> tlog.0000000000000000125.15700
>> >> 90919577780224
>> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
>> tlog.0000000000000000126.15700
>> >> 91056993665025
>> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
>> tlog.0000000000000000127.15700
>> >> 91185511333891
>> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
>> tlog.0000000000000000128.15700
>> >> 91307219550211
>> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
>> tlog.0000000000000000129.15700
>> >> 91430609682433
>> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
>> tlog.0000000000000000130.15700
>> >> 91553711456256
>> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
>> tlog.0000000000000000131.15700
>> >> 91679935889410
>> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
>> tlog.0000000000000000132.15700
>> >> 91806594433024
>> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
>> tlog.0000000000000000133.15700
>> >> 91928757731328
>> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
>> tlog.0000000000000000134.15700
>> >> 92057357189123
>> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
>> tlog.0000000000000000135.15700
>> >> 92201294168065
>> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
>> tlog.0000000000000000136.15700
>> >> 92359713030145
>> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
>> tlog.0000000000000000137.15701
>> >> 79678509989888
>> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
>> tlog.0000000000000000138.15701
>> >> 79804288778244
>> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
>> tlog.0000000000000000139.15701
>> >> 79914307469314
>> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
>> tlog.0000000000000000140.15701
>> >> 80027872444417
>> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
>> tlog.0000000000000000141.15701
>> >> 80143976022017
>> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
>> tlog.0000000000000000142.15701
>> >> 80259345596416
>> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
>> tlog.0000000000000000143.15701
>> >> 80380134211585
>> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
>> tlog.0000000000000000144.15701
>> >> 80512045072385
>> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
>> tlog.0000000000000000145.15701
>> >> 80636449177601
>> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
>> tlog.0000000000000000146.15701
>> >> 80765257302016
>> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
>> tlog.0000000000000000147.15701
>> >> 80894815158273
>> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
>> tlog.0000000000000000148.15701
>> >> 81023165054978
>> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
>> tlog.0000000000000000187.15702
>> >> 72543776964609
>> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
>> tlog.0000000000000000188.15702
>> >> 72675052388353
>> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
>> tlog.0000000000000000189.15702
>> >> 72803043672065
>> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
>> tlog.0000000000000000190.15702
>> >> 72922861305857
>> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
>> tlog.0000000000000000191.15702
>> >> 73044701642753
>> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
>> tlog.0000000000000000192.15702
>> >> 73167724773376
>> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
>> tlog.0000000000000000193.15702
>> >> 73287885291521
>> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
>> tlog.0000000000000000194.15702
>> >> 73416424980480
>> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
>> tlog.0000000000000000195.15702
>> >> 73565833428992
>> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
>> tlog.0000000000000000196.15702
>> >> 73715471515649
>> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
>> tlog.0000000000000000197.15702
>> >> 73842866159616
>> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
>> tlog.0000000000000000198.15702
>> >> 73971062964225
>> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
>> tlog.0000000000000000199.15702
>> >> 74102467362816
>> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
>> tlog.0000000000000000200.15702
>> >> 74251744739328
>> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
>> tlog.0000000000000000201.15702
>> >> 74384063496193
>> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
>> tlog.0000000000000000202.15702
>> >> 74518247669765
>> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
>> tlog.0000000000000000203.15702
>> >> 74652498952192
>> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
>> tlog.0000000000000000204.15702
>> >> 74781412982785
>> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
>> tlog.0000000000000000205.15702
>> >> 74907584987136
>> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
>> tlog.0000000000000000206.15703
>> >> 60855149674496
>> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
>> tlog.0000000000000000207.15706
>> >> 32564662599680
>> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
>> tlog.0000000000000000208.15706
>> >> 32675203481600
>> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
>> tlog.0000000000000000209.15706
>> >> 32782571372544
>> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
>> tlog.0000000000000000210.15706
>> >> 32886154952706
>> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
>> tlog.0000000000000000211.15706
>> >> 32992137674754
>> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
>> tlog.0000000000000000212.15706
>> >> 33103262613505
>> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
>> tlog.0000000000000000213.15706
>> >> 33212055519233
>> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
>> tlog.0000000000000000214.15706
>> >> 33334366666752
>> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
>> tlog.0000000000000000215.15706
>> >> 33444512235520
>> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
>> tlog.0000000000000000216.15706
>> >> 33559541022722
>> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
>> tlog.0000000000000000217.15706
>> >> 33678830174208
>> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
>> tlog.0000000000000000218.15706
>> >> 33796799168513
>> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
>> tlog.0000000000000000219.15706
>> >> 33915684618240
>> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
>> tlog.0000000000000000220.15706
>> >> 34032865083393
>> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
>> tlog.0000000000000000221.15706
>> >> 34135575199745
>> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
>> tlog.0000000000000000222.15706
>> >> 34250321920001
>> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
>> tlog.0000000000000000223.15706
>> >> 34365979852803
>> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
>> tlog.0000000000000000224.15706
>> >> 34471661633536
>> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
>> tlog.0000000000000000225.15706
>> >> 34597027282945
>> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
>> tlog.0000000000000000226.15706
>> >> 34711229792256
>> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
>> tlog.0000000000000000227.15706
>> >> 34815023087616
>> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
>> tlog.0000000000000000228.15706
>> >> 34922535682050
>> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
>> tlog.0000000000000000229.15706
>> >> 35022745993218
>> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
>> tlog.0000000000000000230.15706
>> >> 35137936261120
>> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
>> tlog.0000000000000000231.15706
>> >> 35246269890560
>> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
>> tlog.0000000000000000232.15706
>> >> 35354965278720
>> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
>> tlog.0000000000000000233.15706
>> >> 35478030352385
>> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
>> tlog.0000000000000000234.15706
>> >> 35608948211713
>> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
>> tlog.0000000000000000235.15706
>> >> 35723383504897
>> >>
>> >>
>> >
>> > --
>> >
>> >
>> > This message and any attachment are confidential and may be privileged or
>> > otherwise protected from disclosure. If you are not the intended
>> recipient,
>> > you must not copy this message or attachment or disclose the contents to
>> > any other person. If you have received this transmission in error, please
>> > notify the sender immediately and delete the message and any attachment
>> > from your system. Merck KGaA, Darmstadt, Germany and any of its
>> > subsidiaries do not accept liability for any omissions or errors in this
>> > message which may arise as a result of E-Mail-transmission or for damages
>> > resulting from any unauthorized changes of the content of this message
>> and
>> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
>> > subsidiaries do not guarantee that this message is free of viruses and
>> does
>> > not accept liability for any damages caused by any virus transmitted
>> > therewith.
>> >
>> > Click http://www.emdgroup.com/disclaimer to access the German, French,
>> > Spanish and Portuguese versions of this disclaimer.
>>
>
> --
>
>
> This message and any attachment are confidential and may be privileged or
> otherwise protected from disclosure. If you are not the intended recipient,
> you must not copy this message or attachment or disclose the contents to
> any other person. If you have received this transmission in error, please
> notify the sender immediately and delete the message and any attachment
> from your system. Merck KGaA, Darmstadt, Germany and any of its
> subsidiaries do not accept liability for any omissions or errors in this
> message which may arise as a result of E-Mail-transmission or for damages
> resulting from any unauthorized changes of the content of this message and
> any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
> subsidiaries do not guarantee that this message is free of viruses and does
> not accept liability for any damages caused by any virus transmitted
> therewith.
>
> Click http://www.emdgroup.com/disclaimer to access the German, French,
> Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
Yes, soft commits are irrelevant for this. What is relevant about soft
commits is that we can search the data.

We have autoCommit set to 10 minutes and never see tlogs truncated.
Apparently autoCommit doesn't fire, ever.
Neither in our source collection nor in our target collections. The more I
look at this the more I believe it's a solr bug, and a very serious one.
Our ETL jobs don't issue commits as they expect that the autoCommit will
work.

If autoCommit doesn't work how will cdcr target collections ever get a hard
commit?

So how can I determine if the commit occurred? It would be nice if the
commit logged a message, I don't see such a message but I don't know what
to look for

2017-06-20 14:03 GMT-05:00 Erick Erickson <er...@gmail.com>:

> Maybe irrelevant, but soft commits don't truncate transaction logs,
> only hard commits do (openSearcher true|false doesn't matter).
>
> Full background here:
> https://lucidworks.com/2013/08/23/understanding-
> transaction-logs-softcommit-and-commit-in-sorlcloud/
>
> Not entirely sure how that interacts with CDCR mind you..
>
> Best,
> Erick
>
> 2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
> > :Looking at our cdcr source collection, it too doesn't look like a commit
> > occurred, so I sent one manually.
> > From this I believe that autoCommit isn't working in Solr 6.2
> >
> > Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR you
> > have to have autoCommit. We also have autoSoftCommit set. That seems to
> > work as the data is searchable.
> >
> > Does the commit write a message to the log? How can you tell when a
> commit
> > occurs? As stated above I believe that autoCommit is broken
> >
> > 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
> >
> >> We have a solr cloud collection that gets a full update every morning,
> via
> >> cdcr replication. We see that the target tlogs do not seem to get
> truncated
> >> or deleted as described here
> >> https://lucidworks.com/2013/08/23/understanding-
> >> transaction-logs-softcommit-and-commit-in-sorlcloud/
> >>
> >> I checked we have the cdcr buffer disabled.
> >>
> >> The autoCommit is set to 10 minutes
> >> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
> >> openSearcher>false</openSearcher> </autoCommit>
> >>
> >> According to the documentation this shouldn't be happening. How can you
> >> tell if commits are really firing? The cores always show current = false
> >> which seems to indicate that commits are not happening
> >>
> >> There is a daily reload of the data that takes about 2 hours, after
> which
> >> I would expect the auto commits would be cleaning up the tlogs this
> doesn't
> >> seem to be happening
> >>
> >> We are running Solr 6.2
> >>
> >> rw-r--r-- 1 apache apache 294M Jun 12 11:40
> tlog.0000000000000000082.15699
> >> 98266936852480
> >> -rw-r--r-- 1 apache apache 347M Jun 12 11:50
> tlog.0000000000000000083.15699
> >> 98387510509568
> >> -rw-r--r-- 1 apache apache 341M Jun 12 12:00
> tlog.0000000000000000084.15699
> >> 98511822340097
> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:10
> tlog.0000000000000000085.15699
> >> 98630444597248
> >> -rw-r--r-- 1 apache apache 337M Jun 12 12:20
> tlog.0000000000000000086.15699
> >> 98747965849602
> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:30
> tlog.0000000000000000087.15699
> >> 98869097349120
> >> -rw-r--r-- 1 apache apache 338M Jun 12 12:40
> tlog.0000000000000000088.15699
> >> 98991821635584
> >> -rw-r--r-- 1 apache apache 336M Jun 12 12:50
> tlog.0000000000000000089.15699
> >> 99120862543873
> >> -rw-r--r-- 1 apache apache 337M Jun 12 13:00
> tlog.0000000000000000090.15699
> >> 99251864289280
> >> -rw-r--r-- 1 apache apache 341M Jun 12 13:10
> tlog.0000000000000000091.15699
> >> 99388984475649
> >> -rw-r--r-- 1 apache apache 335M Jun 12 13:20
> tlog.0000000000000000092.15699
> >> 99523820863490
> >> -rw-r--r-- 1 apache apache 338M Jun 12 13:30
> tlog.0000000000000000093.15699
> >> 99646608064513
> >> -rw-r--r-- 1 apache apache 339M Jun 12 13:40
> tlog.0000000000000000094.15699
> >> 99769813647360
> >> -rw-r--r-- 1 apache apache 321M Jun 12 13:50
> tlog.0000000000000000095.15699
> >> 99894280667137
> >> -rw-r--r-- 1 apache apache 338M Jun 12 14:00
> tlog.0000000000000000096.15700
> >> 00010283581441
> >> -rw-r--r-- 1 apache apache 337M Jun 12 14:10
> tlog.0000000000000000097.15700
> >> 00129089339392
> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:20
> tlog.0000000000000000098.15700
> >> 00248878661633
> >> -rw-r--r-- 1 apache apache 339M Jun 12 14:30
> tlog.0000000000000000099.15700
> >> 00369279303680
> >> -rw-r--r-- 1 apache apache 354M Jun 12 14:40
> tlog.0000000000000000100.15700
> >> 00508478816256
> >> -rw-r--r-- 1 apache apache 336M Jun 12 14:50
> tlog.0000000000000000101.15700
> >> 00624750166017
> >> -rw-r--r-- 1 apache apache 339M Jun 12 15:00
> tlog.0000000000000000102.15700
> >> 00748410830848
> >> -rw-r--r-- 1 apache apache 355M Jun 12 15:10
> tlog.0000000000000000103.15700
> >> 00871066959875
> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:20
> tlog.0000000000000000104.15700
> >> 00998950240256
> >> -rw-r--r-- 1 apache apache 336M Jun 12 15:30
> tlog.0000000000000000105.15700
> >> 01121887387650
> >> -rw-r--r-- 1 apache apache 342M Jun 12 15:40
> tlog.0000000000000000106.15700
> >> 01256208924672
> >> -rw-r--r-- 1 apache apache 335M Jun 12 15:50
> tlog.0000000000000000107.15700
> >> 01389587791873
> >> -rw-r--r-- 1 apache apache 264M Jun 12 16:00
> tlog.0000000000000000108.15700
> >> 01520912498688
> >> -rw-r--r-- 1 apache apache 330M Jun 13 11:41
> tlog.0000000000000000109.15700
> >> 88922160037888
> >> -rw-r--r-- 1 apache apache 312M Jun 13 11:51
> tlog.0000000000000000110.15700
> >> 89052763324416
> >> -rw-r--r-- 1 apache apache 335M Jun 13 12:01
> tlog.0000000000000000111.15700
> >> 89163823251456
> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:11
> tlog.0000000000000000112.15700
> >> 89279604916232
> >> -rw-r--r-- 1 apache apache 337M Jun 13 12:21
> tlog.0000000000000000113.15700
> >> 89396394262528
> >> -rw-r--r-- 1 apache apache 332M Jun 13 12:31
> tlog.0000000000000000114.15700
> >> 89522649104386
> >> -rw-r--r-- 1 apache apache 336M Jun 13 12:41
> tlog.0000000000000000115.15700
> >> 89646671527937
> >> -rw-r--r-- 1 apache apache 339M Jun 13 12:51
> tlog.0000000000000000116.15700
> >> 89784991285251
> >> -rw-r--r-- 1 apache apache 335M Jun 13 13:01
> tlog.0000000000000000117.15700
> >> 89912654364672
> >> -rw-r--r-- 1 apache apache 338M Jun 13 13:11
> tlog.0000000000000000118.15700
> >> 90038066151424
> >> -rw-r--r-- 1 apache apache 333M Jun 13 13:21
> tlog.0000000000000000119.15700
> >> 90169766248449
> >> -rw-r--r-- 1 apache apache 336M Jun 13 13:31
> tlog.0000000000000000120.15700
> >> 90295142383616
> >> -rw-r--r-- 1 apache apache 329M Jun 13 13:41
> tlog.0000000000000000121.15700
> >> 90421449654272
> >> -rw-r--r-- 1 apache apache 307M Jun 13 13:51
> tlog.0000000000000000122.15700
> >> 90542827569154
> >> -rw-r--r-- 1 apache apache 339M Jun 13 14:01
> tlog.0000000000000000123.15700
> >> 90650884374530
> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:11
> tlog.0000000000000000124.15700
> >> 90782145118209
> >> -rw-r--r-- 1 apache apache 342M Jun 13 14:21
> tlog.0000000000000000125.15700
> >> 90919577780224
> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:31
> tlog.0000000000000000126.15700
> >> 91056993665025
> >> -rw-r--r-- 1 apache apache 354M Jun 13 14:41
> tlog.0000000000000000127.15700
> >> 91185511333891
> >> -rw-r--r-- 1 apache apache 341M Jun 13 14:51
> tlog.0000000000000000128.15700
> >> 91307219550211
> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:01
> tlog.0000000000000000129.15700
> >> 91430609682433
> >> -rw-r--r-- 1 apache apache 354M Jun 13 15:11
> tlog.0000000000000000130.15700
> >> 91553711456256
> >> -rw-r--r-- 1 apache apache 340M Jun 13 15:21
> tlog.0000000000000000131.15700
> >> 91679935889410
> >> -rw-r--r-- 1 apache apache 337M Jun 13 15:31
> tlog.0000000000000000132.15700
> >> 91806594433024
> >> -rw-r--r-- 1 apache apache 335M Jun 13 15:41
> tlog.0000000000000000133.15700
> >> 91928757731328
> >> -rw-r--r-- 1 apache apache 334M Jun 13 15:51
> tlog.0000000000000000134.15700
> >> 92057357189123
> >> -rw-r--r-- 1 apache apache 343M Jun 13 16:01
> tlog.0000000000000000135.15700
> >> 92201294168065
> >> -rw-r--r-- 1 apache apache 156M Jun 13 16:11
> tlog.0000000000000000136.15700
> >> 92359713030145
> >> -rw-r--r-- 1 apache apache 332M Jun 14 11:43
> tlog.0000000000000000137.15701
> >> 79678509989888
> >> -rw-r--r-- 1 apache apache 312M Jun 14 11:53
> tlog.0000000000000000138.15701
> >> 79804288778244
> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:03
> tlog.0000000000000000139.15701
> >> 79914307469314
> >> -rw-r--r-- 1 apache apache 330M Jun 14 12:13
> tlog.0000000000000000140.15701
> >> 80027872444417
> >> -rw-r--r-- 1 apache apache 334M Jun 14 12:23
> tlog.0000000000000000141.15701
> >> 80143976022017
> >> -rw-r--r-- 1 apache apache 333M Jun 14 12:33
> tlog.0000000000000000142.15701
> >> 80259345596416
> >> -rw-r--r-- 1 apache apache 340M Jun 14 12:43
> tlog.0000000000000000143.15701
> >> 80380134211585
> >> -rw-r--r-- 1 apache apache 343M Jun 14 12:53
> tlog.0000000000000000144.15701
> >> 80512045072385
> >> -rw-r--r-- 1 apache apache 338M Jun 14 13:03
> tlog.0000000000000000145.15701
> >> 80636449177601
> >> -rw-r--r-- 1 apache apache 364M Jun 14 13:13
> tlog.0000000000000000146.15701
> >> 80765257302016
> >> -rw-r--r-- 1 apache apache 339M Jun 14 13:23
> tlog.0000000000000000147.15701
> >> 80894815158273
> >> -rw-r--r-- 1 apache apache 343M Jun 14 13:33
> tlog.0000000000000000148.15701
> >> 81023165054978
> >> -rw-r--r-- 1 apache apache 350M Jun 15 14:43
> tlog.0000000000000000187.15702
> >> 72543776964609
> >> -rw-r--r-- 1 apache apache 339M Jun 15 14:53
> tlog.0000000000000000188.15702
> >> 72675052388353
> >> -rw-r--r-- 1 apache apache 347M Jun 15 15:03
> tlog.0000000000000000189.15702
> >> 72803043672065
> >> -rw-r--r-- 1 apache apache 348M Jun 15 15:13
> tlog.0000000000000000190.15702
> >> 72922861305857
> >> -rw-r--r-- 1 apache apache 341M Jun 15 15:23
> tlog.0000000000000000191.15702
> >> 73044701642753
> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:33
> tlog.0000000000000000192.15702
> >> 73167724773376
> >> -rw-r--r-- 1 apache apache 342M Jun 15 15:43
> tlog.0000000000000000193.15702
> >> 73287885291521
> >> -rw-r--r-- 1 apache apache 339M Jun 15 15:53
> tlog.0000000000000000194.15702
> >> 73416424980480
> >> -rw-r--r-- 1 apache apache 342M Jun 15 16:03
> tlog.0000000000000000195.15702
> >> 73565833428992
> >> -rw-r--r-- 1 apache apache 345M Jun 15 16:13
> tlog.0000000000000000196.15702
> >> 73715471515649
> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:23
> tlog.0000000000000000197.15702
> >> 73842866159616
> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:33
> tlog.0000000000000000198.15702
> >> 73971062964225
> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:43
> tlog.0000000000000000199.15702
> >> 74102467362816
> >> -rw-r--r-- 1 apache apache 340M Jun 15 16:53
> tlog.0000000000000000200.15702
> >> 74251744739328
> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:03
> tlog.0000000000000000201.15702
> >> 74384063496193
> >> -rw-r--r-- 1 apache apache 339M Jun 15 17:13
> tlog.0000000000000000202.15702
> >> 74518247669765
> >> -rw-r--r-- 1 apache apache 340M Jun 15 17:23
> tlog.0000000000000000203.15702
> >> 74652498952192
> >> -rw-r--r-- 1 apache apache 336M Jun 15 17:33
> tlog.0000000000000000204.15702
> >> 74781412982785
> >> -rw-r--r-- 1 apache apache 300M Jun 15 17:43
> tlog.0000000000000000205.15702
> >> 74907584987136
> >> -rw-r--r-- 1 apache apache 163M Jun 16 11:43
> tlog.0000000000000000206.15703
> >> 60855149674496
> >> -rw-r--r-- 1 apache apache 294M Jun 19 11:42
> tlog.0000000000000000207.15706
> >> 32564662599680
> >> -rw-r--r-- 1 apache apache 350M Jun 19 11:52
> tlog.0000000000000000208.15706
> >> 32675203481600
> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:02
> tlog.0000000000000000209.15706
> >> 32782571372544
> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:12
> tlog.0000000000000000210.15706
> >> 32886154952706
> >> -rw-r--r-- 1 apache apache 339M Jun 19 12:22
> tlog.0000000000000000211.15706
> >> 32992137674754
> >> -rw-r--r-- 1 apache apache 336M Jun 19 12:32
> tlog.0000000000000000212.15706
> >> 33103262613505
> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:42
> tlog.0000000000000000213.15706
> >> 33212055519233
> >> -rw-r--r-- 1 apache apache 341M Jun 19 12:52
> tlog.0000000000000000214.15706
> >> 33334366666752
> >> -rw-r--r-- 1 apache apache 344M Jun 19 13:02
> tlog.0000000000000000215.15706
> >> 33444512235520
> >> -rw-r--r-- 1 apache apache 364M Jun 19 13:12
> tlog.0000000000000000216.15706
> >> 33559541022722
> >> -rw-r--r-- 1 apache apache 334M Jun 19 13:22
> tlog.0000000000000000217.15706
> >> 33678830174208
> >> -rw-r--r-- 1 apache apache 341M Jun 19 13:32
> tlog.0000000000000000218.15706
> >> 33796799168513
> >> -rw-r--r-- 1 apache apache 339M Jun 19 13:42
> tlog.0000000000000000219.15706
> >> 33915684618240
> >> -rw-r--r-- 1 apache apache 320M Jun 19 13:52
> tlog.0000000000000000220.15706
> >> 34032865083393
> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:02
> tlog.0000000000000000221.15706
> >> 34135575199745
> >> -rw-r--r-- 1 apache apache 338M Jun 19 14:12
> tlog.0000000000000000222.15706
> >> 34250321920001
> >> -rw-r--r-- 1 apache apache 344M Jun 19 14:22
> tlog.0000000000000000223.15706
> >> 34365979852803
> >> -rw-r--r-- 1 apache apache 343M Jun 19 14:32
> tlog.0000000000000000224.15706
> >> 34471661633536
> >> -rw-r--r-- 1 apache apache 351M Jun 19 14:42
> tlog.0000000000000000225.15706
> >> 34597027282945
> >> -rw-r--r-- 1 apache apache 340M Jun 19 14:52
> tlog.0000000000000000226.15706
> >> 34711229792256
> >> -rw-r--r-- 1 apache apache 349M Jun 19 15:02
> tlog.0000000000000000227.15706
> >> 34815023087616
> >> -rw-r--r-- 1 apache apache 348M Jun 19 15:12
> tlog.0000000000000000228.15706
> >> 34922535682050
> >> -rw-r--r-- 1 apache apache 330M Jun 19 15:22
> tlog.0000000000000000229.15706
> >> 35022745993218
> >> -rw-r--r-- 1 apache apache 332M Jun 19 15:32
> tlog.0000000000000000230.15706
> >> 35137936261120
> >> -rw-r--r-- 1 apache apache 344M Jun 19 15:42
> tlog.0000000000000000231.15706
> >> 35246269890560
> >> -rw-r--r-- 1 apache apache 338M Jun 19 15:52
> tlog.0000000000000000232.15706
> >> 35354965278720
> >> -rw-r--r-- 1 apache apache 341M Jun 19 16:02
> tlog.0000000000000000233.15706
> >> 35478030352385
> >> -rw-r--r-- 1 apache apache 346M Jun 19 16:12
> tlog.0000000000000000234.15706
> >> 35608948211713
> >> -rw-r--r-- 1 apache apache 278M Jun 19 16:22
> tlog.0000000000000000235.15706
> >> 35723383504897
> >>
> >>
> >
> > --
> >
> >
> > This message and any attachment are confidential and may be privileged or
> > otherwise protected from disclosure. If you are not the intended
> recipient,
> > you must not copy this message or attachment or disclose the contents to
> > any other person. If you have received this transmission in error, please
> > notify the sender immediately and delete the message and any attachment
> > from your system. Merck KGaA, Darmstadt, Germany and any of its
> > subsidiaries do not accept liability for any omissions or errors in this
> > message which may arise as a result of E-Mail-transmission or for damages
> > resulting from any unauthorized changes of the content of this message
> and
> > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
> > subsidiaries do not guarantee that this message is free of viruses and
> does
> > not accept liability for any damages caused by any virus transmitted
> > therewith.
> >
> > Click http://www.emdgroup.com/disclaimer to access the German, French,
> > Spanish and Portuguese versions of this disclaimer.
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Erick Erickson <er...@gmail.com>.
Maybe irrelevant, but soft commits don't truncate transaction logs,
only hard commits do (openSearcher true|false doesn't matter).

Full background here:
https://lucidworks.com/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

Not entirely sure how that interacts with CDCR mind you..

Best,
Erick

2017-06-20 9:48 GMT-07:00 Webster Homer <we...@sial.com>:
> :Looking at our cdcr source collection, it too doesn't look like a commit
> occurred, so I sent one manually.
> From this I believe that autoCommit isn't working in Solr 6.2
>
> Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR you
> have to have autoCommit. We also have autoSoftCommit set. That seems to
> work as the data is searchable.
>
> Does the commit write a message to the log? How can you tell when a commit
> occurs? As stated above I believe that autoCommit is broken
>
> 2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:
>
>> We have a solr cloud collection that gets a full update every morning, via
>> cdcr replication. We see that the target tlogs do not seem to get truncated
>> or deleted as described here
>> https://lucidworks.com/2013/08/23/understanding-
>> transaction-logs-softcommit-and-commit-in-sorlcloud/
>>
>> I checked we have the cdcr buffer disabled.
>>
>> The autoCommit is set to 10 minutes
>> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
>> openSearcher>false</openSearcher> </autoCommit>
>>
>> According to the documentation this shouldn't be happening. How can you
>> tell if commits are really firing? The cores always show current = false
>> which seems to indicate that commits are not happening
>>
>> There is a daily reload of the data that takes about 2 hours, after which
>> I would expect the auto commits would be cleaning up the tlogs this doesn't
>> seem to be happening
>>
>> We are running Solr 6.2
>>
>> rw-r--r-- 1 apache apache 294M Jun 12 11:40 tlog.0000000000000000082.15699
>> 98266936852480
>> -rw-r--r-- 1 apache apache 347M Jun 12 11:50 tlog.0000000000000000083.15699
>> 98387510509568
>> -rw-r--r-- 1 apache apache 341M Jun 12 12:00 tlog.0000000000000000084.15699
>> 98511822340097
>> -rw-r--r-- 1 apache apache 336M Jun 12 12:10 tlog.0000000000000000085.15699
>> 98630444597248
>> -rw-r--r-- 1 apache apache 337M Jun 12 12:20 tlog.0000000000000000086.15699
>> 98747965849602
>> -rw-r--r-- 1 apache apache 336M Jun 12 12:30 tlog.0000000000000000087.15699
>> 98869097349120
>> -rw-r--r-- 1 apache apache 338M Jun 12 12:40 tlog.0000000000000000088.15699
>> 98991821635584
>> -rw-r--r-- 1 apache apache 336M Jun 12 12:50 tlog.0000000000000000089.15699
>> 99120862543873
>> -rw-r--r-- 1 apache apache 337M Jun 12 13:00 tlog.0000000000000000090.15699
>> 99251864289280
>> -rw-r--r-- 1 apache apache 341M Jun 12 13:10 tlog.0000000000000000091.15699
>> 99388984475649
>> -rw-r--r-- 1 apache apache 335M Jun 12 13:20 tlog.0000000000000000092.15699
>> 99523820863490
>> -rw-r--r-- 1 apache apache 338M Jun 12 13:30 tlog.0000000000000000093.15699
>> 99646608064513
>> -rw-r--r-- 1 apache apache 339M Jun 12 13:40 tlog.0000000000000000094.15699
>> 99769813647360
>> -rw-r--r-- 1 apache apache 321M Jun 12 13:50 tlog.0000000000000000095.15699
>> 99894280667137
>> -rw-r--r-- 1 apache apache 338M Jun 12 14:00 tlog.0000000000000000096.15700
>> 00010283581441
>> -rw-r--r-- 1 apache apache 337M Jun 12 14:10 tlog.0000000000000000097.15700
>> 00129089339392
>> -rw-r--r-- 1 apache apache 339M Jun 12 14:20 tlog.0000000000000000098.15700
>> 00248878661633
>> -rw-r--r-- 1 apache apache 339M Jun 12 14:30 tlog.0000000000000000099.15700
>> 00369279303680
>> -rw-r--r-- 1 apache apache 354M Jun 12 14:40 tlog.0000000000000000100.15700
>> 00508478816256
>> -rw-r--r-- 1 apache apache 336M Jun 12 14:50 tlog.0000000000000000101.15700
>> 00624750166017
>> -rw-r--r-- 1 apache apache 339M Jun 12 15:00 tlog.0000000000000000102.15700
>> 00748410830848
>> -rw-r--r-- 1 apache apache 355M Jun 12 15:10 tlog.0000000000000000103.15700
>> 00871066959875
>> -rw-r--r-- 1 apache apache 335M Jun 12 15:20 tlog.0000000000000000104.15700
>> 00998950240256
>> -rw-r--r-- 1 apache apache 336M Jun 12 15:30 tlog.0000000000000000105.15700
>> 01121887387650
>> -rw-r--r-- 1 apache apache 342M Jun 12 15:40 tlog.0000000000000000106.15700
>> 01256208924672
>> -rw-r--r-- 1 apache apache 335M Jun 12 15:50 tlog.0000000000000000107.15700
>> 01389587791873
>> -rw-r--r-- 1 apache apache 264M Jun 12 16:00 tlog.0000000000000000108.15700
>> 01520912498688
>> -rw-r--r-- 1 apache apache 330M Jun 13 11:41 tlog.0000000000000000109.15700
>> 88922160037888
>> -rw-r--r-- 1 apache apache 312M Jun 13 11:51 tlog.0000000000000000110.15700
>> 89052763324416
>> -rw-r--r-- 1 apache apache 335M Jun 13 12:01 tlog.0000000000000000111.15700
>> 89163823251456
>> -rw-r--r-- 1 apache apache 337M Jun 13 12:11 tlog.0000000000000000112.15700
>> 89279604916232
>> -rw-r--r-- 1 apache apache 337M Jun 13 12:21 tlog.0000000000000000113.15700
>> 89396394262528
>> -rw-r--r-- 1 apache apache 332M Jun 13 12:31 tlog.0000000000000000114.15700
>> 89522649104386
>> -rw-r--r-- 1 apache apache 336M Jun 13 12:41 tlog.0000000000000000115.15700
>> 89646671527937
>> -rw-r--r-- 1 apache apache 339M Jun 13 12:51 tlog.0000000000000000116.15700
>> 89784991285251
>> -rw-r--r-- 1 apache apache 335M Jun 13 13:01 tlog.0000000000000000117.15700
>> 89912654364672
>> -rw-r--r-- 1 apache apache 338M Jun 13 13:11 tlog.0000000000000000118.15700
>> 90038066151424
>> -rw-r--r-- 1 apache apache 333M Jun 13 13:21 tlog.0000000000000000119.15700
>> 90169766248449
>> -rw-r--r-- 1 apache apache 336M Jun 13 13:31 tlog.0000000000000000120.15700
>> 90295142383616
>> -rw-r--r-- 1 apache apache 329M Jun 13 13:41 tlog.0000000000000000121.15700
>> 90421449654272
>> -rw-r--r-- 1 apache apache 307M Jun 13 13:51 tlog.0000000000000000122.15700
>> 90542827569154
>> -rw-r--r-- 1 apache apache 339M Jun 13 14:01 tlog.0000000000000000123.15700
>> 90650884374530
>> -rw-r--r-- 1 apache apache 342M Jun 13 14:11 tlog.0000000000000000124.15700
>> 90782145118209
>> -rw-r--r-- 1 apache apache 342M Jun 13 14:21 tlog.0000000000000000125.15700
>> 90919577780224
>> -rw-r--r-- 1 apache apache 341M Jun 13 14:31 tlog.0000000000000000126.15700
>> 91056993665025
>> -rw-r--r-- 1 apache apache 354M Jun 13 14:41 tlog.0000000000000000127.15700
>> 91185511333891
>> -rw-r--r-- 1 apache apache 341M Jun 13 14:51 tlog.0000000000000000128.15700
>> 91307219550211
>> -rw-r--r-- 1 apache apache 335M Jun 13 15:01 tlog.0000000000000000129.15700
>> 91430609682433
>> -rw-r--r-- 1 apache apache 354M Jun 13 15:11 tlog.0000000000000000130.15700
>> 91553711456256
>> -rw-r--r-- 1 apache apache 340M Jun 13 15:21 tlog.0000000000000000131.15700
>> 91679935889410
>> -rw-r--r-- 1 apache apache 337M Jun 13 15:31 tlog.0000000000000000132.15700
>> 91806594433024
>> -rw-r--r-- 1 apache apache 335M Jun 13 15:41 tlog.0000000000000000133.15700
>> 91928757731328
>> -rw-r--r-- 1 apache apache 334M Jun 13 15:51 tlog.0000000000000000134.15700
>> 92057357189123
>> -rw-r--r-- 1 apache apache 343M Jun 13 16:01 tlog.0000000000000000135.15700
>> 92201294168065
>> -rw-r--r-- 1 apache apache 156M Jun 13 16:11 tlog.0000000000000000136.15700
>> 92359713030145
>> -rw-r--r-- 1 apache apache 332M Jun 14 11:43 tlog.0000000000000000137.15701
>> 79678509989888
>> -rw-r--r-- 1 apache apache 312M Jun 14 11:53 tlog.0000000000000000138.15701
>> 79804288778244
>> -rw-r--r-- 1 apache apache 334M Jun 14 12:03 tlog.0000000000000000139.15701
>> 79914307469314
>> -rw-r--r-- 1 apache apache 330M Jun 14 12:13 tlog.0000000000000000140.15701
>> 80027872444417
>> -rw-r--r-- 1 apache apache 334M Jun 14 12:23 tlog.0000000000000000141.15701
>> 80143976022017
>> -rw-r--r-- 1 apache apache 333M Jun 14 12:33 tlog.0000000000000000142.15701
>> 80259345596416
>> -rw-r--r-- 1 apache apache 340M Jun 14 12:43 tlog.0000000000000000143.15701
>> 80380134211585
>> -rw-r--r-- 1 apache apache 343M Jun 14 12:53 tlog.0000000000000000144.15701
>> 80512045072385
>> -rw-r--r-- 1 apache apache 338M Jun 14 13:03 tlog.0000000000000000145.15701
>> 80636449177601
>> -rw-r--r-- 1 apache apache 364M Jun 14 13:13 tlog.0000000000000000146.15701
>> 80765257302016
>> -rw-r--r-- 1 apache apache 339M Jun 14 13:23 tlog.0000000000000000147.15701
>> 80894815158273
>> -rw-r--r-- 1 apache apache 343M Jun 14 13:33 tlog.0000000000000000148.15701
>> 81023165054978
>> -rw-r--r-- 1 apache apache 350M Jun 15 14:43 tlog.0000000000000000187.15702
>> 72543776964609
>> -rw-r--r-- 1 apache apache 339M Jun 15 14:53 tlog.0000000000000000188.15702
>> 72675052388353
>> -rw-r--r-- 1 apache apache 347M Jun 15 15:03 tlog.0000000000000000189.15702
>> 72803043672065
>> -rw-r--r-- 1 apache apache 348M Jun 15 15:13 tlog.0000000000000000190.15702
>> 72922861305857
>> -rw-r--r-- 1 apache apache 341M Jun 15 15:23 tlog.0000000000000000191.15702
>> 73044701642753
>> -rw-r--r-- 1 apache apache 339M Jun 15 15:33 tlog.0000000000000000192.15702
>> 73167724773376
>> -rw-r--r-- 1 apache apache 342M Jun 15 15:43 tlog.0000000000000000193.15702
>> 73287885291521
>> -rw-r--r-- 1 apache apache 339M Jun 15 15:53 tlog.0000000000000000194.15702
>> 73416424980480
>> -rw-r--r-- 1 apache apache 342M Jun 15 16:03 tlog.0000000000000000195.15702
>> 73565833428992
>> -rw-r--r-- 1 apache apache 345M Jun 15 16:13 tlog.0000000000000000196.15702
>> 73715471515649
>> -rw-r--r-- 1 apache apache 340M Jun 15 16:23 tlog.0000000000000000197.15702
>> 73842866159616
>> -rw-r--r-- 1 apache apache 340M Jun 15 16:33 tlog.0000000000000000198.15702
>> 73971062964225
>> -rw-r--r-- 1 apache apache 340M Jun 15 16:43 tlog.0000000000000000199.15702
>> 74102467362816
>> -rw-r--r-- 1 apache apache 340M Jun 15 16:53 tlog.0000000000000000200.15702
>> 74251744739328
>> -rw-r--r-- 1 apache apache 339M Jun 15 17:03 tlog.0000000000000000201.15702
>> 74384063496193
>> -rw-r--r-- 1 apache apache 339M Jun 15 17:13 tlog.0000000000000000202.15702
>> 74518247669765
>> -rw-r--r-- 1 apache apache 340M Jun 15 17:23 tlog.0000000000000000203.15702
>> 74652498952192
>> -rw-r--r-- 1 apache apache 336M Jun 15 17:33 tlog.0000000000000000204.15702
>> 74781412982785
>> -rw-r--r-- 1 apache apache 300M Jun 15 17:43 tlog.0000000000000000205.15702
>> 74907584987136
>> -rw-r--r-- 1 apache apache 163M Jun 16 11:43 tlog.0000000000000000206.15703
>> 60855149674496
>> -rw-r--r-- 1 apache apache 294M Jun 19 11:42 tlog.0000000000000000207.15706
>> 32564662599680
>> -rw-r--r-- 1 apache apache 350M Jun 19 11:52 tlog.0000000000000000208.15706
>> 32675203481600
>> -rw-r--r-- 1 apache apache 341M Jun 19 12:02 tlog.0000000000000000209.15706
>> 32782571372544
>> -rw-r--r-- 1 apache apache 336M Jun 19 12:12 tlog.0000000000000000210.15706
>> 32886154952706
>> -rw-r--r-- 1 apache apache 339M Jun 19 12:22 tlog.0000000000000000211.15706
>> 32992137674754
>> -rw-r--r-- 1 apache apache 336M Jun 19 12:32 tlog.0000000000000000212.15706
>> 33103262613505
>> -rw-r--r-- 1 apache apache 341M Jun 19 12:42 tlog.0000000000000000213.15706
>> 33212055519233
>> -rw-r--r-- 1 apache apache 341M Jun 19 12:52 tlog.0000000000000000214.15706
>> 33334366666752
>> -rw-r--r-- 1 apache apache 344M Jun 19 13:02 tlog.0000000000000000215.15706
>> 33444512235520
>> -rw-r--r-- 1 apache apache 364M Jun 19 13:12 tlog.0000000000000000216.15706
>> 33559541022722
>> -rw-r--r-- 1 apache apache 334M Jun 19 13:22 tlog.0000000000000000217.15706
>> 33678830174208
>> -rw-r--r-- 1 apache apache 341M Jun 19 13:32 tlog.0000000000000000218.15706
>> 33796799168513
>> -rw-r--r-- 1 apache apache 339M Jun 19 13:42 tlog.0000000000000000219.15706
>> 33915684618240
>> -rw-r--r-- 1 apache apache 320M Jun 19 13:52 tlog.0000000000000000220.15706
>> 34032865083393
>> -rw-r--r-- 1 apache apache 351M Jun 19 14:02 tlog.0000000000000000221.15706
>> 34135575199745
>> -rw-r--r-- 1 apache apache 338M Jun 19 14:12 tlog.0000000000000000222.15706
>> 34250321920001
>> -rw-r--r-- 1 apache apache 344M Jun 19 14:22 tlog.0000000000000000223.15706
>> 34365979852803
>> -rw-r--r-- 1 apache apache 343M Jun 19 14:32 tlog.0000000000000000224.15706
>> 34471661633536
>> -rw-r--r-- 1 apache apache 351M Jun 19 14:42 tlog.0000000000000000225.15706
>> 34597027282945
>> -rw-r--r-- 1 apache apache 340M Jun 19 14:52 tlog.0000000000000000226.15706
>> 34711229792256
>> -rw-r--r-- 1 apache apache 349M Jun 19 15:02 tlog.0000000000000000227.15706
>> 34815023087616
>> -rw-r--r-- 1 apache apache 348M Jun 19 15:12 tlog.0000000000000000228.15706
>> 34922535682050
>> -rw-r--r-- 1 apache apache 330M Jun 19 15:22 tlog.0000000000000000229.15706
>> 35022745993218
>> -rw-r--r-- 1 apache apache 332M Jun 19 15:32 tlog.0000000000000000230.15706
>> 35137936261120
>> -rw-r--r-- 1 apache apache 344M Jun 19 15:42 tlog.0000000000000000231.15706
>> 35246269890560
>> -rw-r--r-- 1 apache apache 338M Jun 19 15:52 tlog.0000000000000000232.15706
>> 35354965278720
>> -rw-r--r-- 1 apache apache 341M Jun 19 16:02 tlog.0000000000000000233.15706
>> 35478030352385
>> -rw-r--r-- 1 apache apache 346M Jun 19 16:12 tlog.0000000000000000234.15706
>> 35608948211713
>> -rw-r--r-- 1 apache apache 278M Jun 19 16:22 tlog.0000000000000000235.15706
>> 35723383504897
>>
>>
>
> --
>
>
> This message and any attachment are confidential and may be privileged or
> otherwise protected from disclosure. If you are not the intended recipient,
> you must not copy this message or attachment or disclose the contents to
> any other person. If you have received this transmission in error, please
> notify the sender immediately and delete the message and any attachment
> from your system. Merck KGaA, Darmstadt, Germany and any of its
> subsidiaries do not accept liability for any omissions or errors in this
> message which may arise as a result of E-Mail-transmission or for damages
> resulting from any unauthorized changes of the content of this message and
> any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its
> subsidiaries do not guarantee that this message is free of viruses and does
> not accept liability for any damages caused by any virus transmitted
> therewith.
>
> Click http://www.emdgroup.com/disclaimer to access the German, French,
> Spanish and Portuguese versions of this disclaimer.

Re: Tlogs not being deleted/truncated

Posted by Webster Homer <we...@sial.com>.
:Looking at our cdcr source collection, it too doesn't look like a commit
occurred, so I sent one manually.
From this I believe that autoCommit isn't working in Solr 6.2

Our ETL doesn't send commits, we rely upon autoCommit, and for CDCR you
have to have autoCommit. We also have autoSoftCommit set. That seems to
work as the data is searchable.

Does the commit write a message to the log? How can you tell when a commit
occurs? As stated above I believe that autoCommit is broken

2017-06-20 9:22 GMT-05:00 Webster Homer <we...@sial.com>:

> We have a solr cloud collection that gets a full update every morning, via
> cdcr replication. We see that the target tlogs do not seem to get truncated
> or deleted as described here
> https://lucidworks.com/2013/08/23/understanding-
> transaction-logs-softcommit-and-commit-in-sorlcloud/
>
> I checked we have the cdcr buffer disabled.
>
> The autoCommit is set to 10 minutes
> <autoCommit> <maxTime>${solr.autoCommit.maxTime:600000}</maxTime> <
> openSearcher>false</openSearcher> </autoCommit>
>
> According to the documentation this shouldn't be happening. How can you
> tell if commits are really firing? The cores always show current = false
> which seems to indicate that commits are not happening
>
> There is a daily reload of the data that takes about 2 hours, after which
> I would expect the auto commits would be cleaning up the tlogs this doesn't
> seem to be happening
>
> We are running Solr 6.2
>
> rw-r--r-- 1 apache apache 294M Jun 12 11:40 tlog.0000000000000000082.15699
> 98266936852480
> -rw-r--r-- 1 apache apache 347M Jun 12 11:50 tlog.0000000000000000083.15699
> 98387510509568
> -rw-r--r-- 1 apache apache 341M Jun 12 12:00 tlog.0000000000000000084.15699
> 98511822340097
> -rw-r--r-- 1 apache apache 336M Jun 12 12:10 tlog.0000000000000000085.15699
> 98630444597248
> -rw-r--r-- 1 apache apache 337M Jun 12 12:20 tlog.0000000000000000086.15699
> 98747965849602
> -rw-r--r-- 1 apache apache 336M Jun 12 12:30 tlog.0000000000000000087.15699
> 98869097349120
> -rw-r--r-- 1 apache apache 338M Jun 12 12:40 tlog.0000000000000000088.15699
> 98991821635584
> -rw-r--r-- 1 apache apache 336M Jun 12 12:50 tlog.0000000000000000089.15699
> 99120862543873
> -rw-r--r-- 1 apache apache 337M Jun 12 13:00 tlog.0000000000000000090.15699
> 99251864289280
> -rw-r--r-- 1 apache apache 341M Jun 12 13:10 tlog.0000000000000000091.15699
> 99388984475649
> -rw-r--r-- 1 apache apache 335M Jun 12 13:20 tlog.0000000000000000092.15699
> 99523820863490
> -rw-r--r-- 1 apache apache 338M Jun 12 13:30 tlog.0000000000000000093.15699
> 99646608064513
> -rw-r--r-- 1 apache apache 339M Jun 12 13:40 tlog.0000000000000000094.15699
> 99769813647360
> -rw-r--r-- 1 apache apache 321M Jun 12 13:50 tlog.0000000000000000095.15699
> 99894280667137
> -rw-r--r-- 1 apache apache 338M Jun 12 14:00 tlog.0000000000000000096.15700
> 00010283581441
> -rw-r--r-- 1 apache apache 337M Jun 12 14:10 tlog.0000000000000000097.15700
> 00129089339392
> -rw-r--r-- 1 apache apache 339M Jun 12 14:20 tlog.0000000000000000098.15700
> 00248878661633
> -rw-r--r-- 1 apache apache 339M Jun 12 14:30 tlog.0000000000000000099.15700
> 00369279303680
> -rw-r--r-- 1 apache apache 354M Jun 12 14:40 tlog.0000000000000000100.15700
> 00508478816256
> -rw-r--r-- 1 apache apache 336M Jun 12 14:50 tlog.0000000000000000101.15700
> 00624750166017
> -rw-r--r-- 1 apache apache 339M Jun 12 15:00 tlog.0000000000000000102.15700
> 00748410830848
> -rw-r--r-- 1 apache apache 355M Jun 12 15:10 tlog.0000000000000000103.15700
> 00871066959875
> -rw-r--r-- 1 apache apache 335M Jun 12 15:20 tlog.0000000000000000104.15700
> 00998950240256
> -rw-r--r-- 1 apache apache 336M Jun 12 15:30 tlog.0000000000000000105.15700
> 01121887387650
> -rw-r--r-- 1 apache apache 342M Jun 12 15:40 tlog.0000000000000000106.15700
> 01256208924672
> -rw-r--r-- 1 apache apache 335M Jun 12 15:50 tlog.0000000000000000107.15700
> 01389587791873
> -rw-r--r-- 1 apache apache 264M Jun 12 16:00 tlog.0000000000000000108.15700
> 01520912498688
> -rw-r--r-- 1 apache apache 330M Jun 13 11:41 tlog.0000000000000000109.15700
> 88922160037888
> -rw-r--r-- 1 apache apache 312M Jun 13 11:51 tlog.0000000000000000110.15700
> 89052763324416
> -rw-r--r-- 1 apache apache 335M Jun 13 12:01 tlog.0000000000000000111.15700
> 89163823251456
> -rw-r--r-- 1 apache apache 337M Jun 13 12:11 tlog.0000000000000000112.15700
> 89279604916232
> -rw-r--r-- 1 apache apache 337M Jun 13 12:21 tlog.0000000000000000113.15700
> 89396394262528
> -rw-r--r-- 1 apache apache 332M Jun 13 12:31 tlog.0000000000000000114.15700
> 89522649104386
> -rw-r--r-- 1 apache apache 336M Jun 13 12:41 tlog.0000000000000000115.15700
> 89646671527937
> -rw-r--r-- 1 apache apache 339M Jun 13 12:51 tlog.0000000000000000116.15700
> 89784991285251
> -rw-r--r-- 1 apache apache 335M Jun 13 13:01 tlog.0000000000000000117.15700
> 89912654364672
> -rw-r--r-- 1 apache apache 338M Jun 13 13:11 tlog.0000000000000000118.15700
> 90038066151424
> -rw-r--r-- 1 apache apache 333M Jun 13 13:21 tlog.0000000000000000119.15700
> 90169766248449
> -rw-r--r-- 1 apache apache 336M Jun 13 13:31 tlog.0000000000000000120.15700
> 90295142383616
> -rw-r--r-- 1 apache apache 329M Jun 13 13:41 tlog.0000000000000000121.15700
> 90421449654272
> -rw-r--r-- 1 apache apache 307M Jun 13 13:51 tlog.0000000000000000122.15700
> 90542827569154
> -rw-r--r-- 1 apache apache 339M Jun 13 14:01 tlog.0000000000000000123.15700
> 90650884374530
> -rw-r--r-- 1 apache apache 342M Jun 13 14:11 tlog.0000000000000000124.15700
> 90782145118209
> -rw-r--r-- 1 apache apache 342M Jun 13 14:21 tlog.0000000000000000125.15700
> 90919577780224
> -rw-r--r-- 1 apache apache 341M Jun 13 14:31 tlog.0000000000000000126.15700
> 91056993665025
> -rw-r--r-- 1 apache apache 354M Jun 13 14:41 tlog.0000000000000000127.15700
> 91185511333891
> -rw-r--r-- 1 apache apache 341M Jun 13 14:51 tlog.0000000000000000128.15700
> 91307219550211
> -rw-r--r-- 1 apache apache 335M Jun 13 15:01 tlog.0000000000000000129.15700
> 91430609682433
> -rw-r--r-- 1 apache apache 354M Jun 13 15:11 tlog.0000000000000000130.15700
> 91553711456256
> -rw-r--r-- 1 apache apache 340M Jun 13 15:21 tlog.0000000000000000131.15700
> 91679935889410
> -rw-r--r-- 1 apache apache 337M Jun 13 15:31 tlog.0000000000000000132.15700
> 91806594433024
> -rw-r--r-- 1 apache apache 335M Jun 13 15:41 tlog.0000000000000000133.15700
> 91928757731328
> -rw-r--r-- 1 apache apache 334M Jun 13 15:51 tlog.0000000000000000134.15700
> 92057357189123
> -rw-r--r-- 1 apache apache 343M Jun 13 16:01 tlog.0000000000000000135.15700
> 92201294168065
> -rw-r--r-- 1 apache apache 156M Jun 13 16:11 tlog.0000000000000000136.15700
> 92359713030145
> -rw-r--r-- 1 apache apache 332M Jun 14 11:43 tlog.0000000000000000137.15701
> 79678509989888
> -rw-r--r-- 1 apache apache 312M Jun 14 11:53 tlog.0000000000000000138.15701
> 79804288778244
> -rw-r--r-- 1 apache apache 334M Jun 14 12:03 tlog.0000000000000000139.15701
> 79914307469314
> -rw-r--r-- 1 apache apache 330M Jun 14 12:13 tlog.0000000000000000140.15701
> 80027872444417
> -rw-r--r-- 1 apache apache 334M Jun 14 12:23 tlog.0000000000000000141.15701
> 80143976022017
> -rw-r--r-- 1 apache apache 333M Jun 14 12:33 tlog.0000000000000000142.15701
> 80259345596416
> -rw-r--r-- 1 apache apache 340M Jun 14 12:43 tlog.0000000000000000143.15701
> 80380134211585
> -rw-r--r-- 1 apache apache 343M Jun 14 12:53 tlog.0000000000000000144.15701
> 80512045072385
> -rw-r--r-- 1 apache apache 338M Jun 14 13:03 tlog.0000000000000000145.15701
> 80636449177601
> -rw-r--r-- 1 apache apache 364M Jun 14 13:13 tlog.0000000000000000146.15701
> 80765257302016
> -rw-r--r-- 1 apache apache 339M Jun 14 13:23 tlog.0000000000000000147.15701
> 80894815158273
> -rw-r--r-- 1 apache apache 343M Jun 14 13:33 tlog.0000000000000000148.15701
> 81023165054978
> -rw-r--r-- 1 apache apache 350M Jun 15 14:43 tlog.0000000000000000187.15702
> 72543776964609
> -rw-r--r-- 1 apache apache 339M Jun 15 14:53 tlog.0000000000000000188.15702
> 72675052388353
> -rw-r--r-- 1 apache apache 347M Jun 15 15:03 tlog.0000000000000000189.15702
> 72803043672065
> -rw-r--r-- 1 apache apache 348M Jun 15 15:13 tlog.0000000000000000190.15702
> 72922861305857
> -rw-r--r-- 1 apache apache 341M Jun 15 15:23 tlog.0000000000000000191.15702
> 73044701642753
> -rw-r--r-- 1 apache apache 339M Jun 15 15:33 tlog.0000000000000000192.15702
> 73167724773376
> -rw-r--r-- 1 apache apache 342M Jun 15 15:43 tlog.0000000000000000193.15702
> 73287885291521
> -rw-r--r-- 1 apache apache 339M Jun 15 15:53 tlog.0000000000000000194.15702
> 73416424980480
> -rw-r--r-- 1 apache apache 342M Jun 15 16:03 tlog.0000000000000000195.15702
> 73565833428992
> -rw-r--r-- 1 apache apache 345M Jun 15 16:13 tlog.0000000000000000196.15702
> 73715471515649
> -rw-r--r-- 1 apache apache 340M Jun 15 16:23 tlog.0000000000000000197.15702
> 73842866159616
> -rw-r--r-- 1 apache apache 340M Jun 15 16:33 tlog.0000000000000000198.15702
> 73971062964225
> -rw-r--r-- 1 apache apache 340M Jun 15 16:43 tlog.0000000000000000199.15702
> 74102467362816
> -rw-r--r-- 1 apache apache 340M Jun 15 16:53 tlog.0000000000000000200.15702
> 74251744739328
> -rw-r--r-- 1 apache apache 339M Jun 15 17:03 tlog.0000000000000000201.15702
> 74384063496193
> -rw-r--r-- 1 apache apache 339M Jun 15 17:13 tlog.0000000000000000202.15702
> 74518247669765
> -rw-r--r-- 1 apache apache 340M Jun 15 17:23 tlog.0000000000000000203.15702
> 74652498952192
> -rw-r--r-- 1 apache apache 336M Jun 15 17:33 tlog.0000000000000000204.15702
> 74781412982785
> -rw-r--r-- 1 apache apache 300M Jun 15 17:43 tlog.0000000000000000205.15702
> 74907584987136
> -rw-r--r-- 1 apache apache 163M Jun 16 11:43 tlog.0000000000000000206.15703
> 60855149674496
> -rw-r--r-- 1 apache apache 294M Jun 19 11:42 tlog.0000000000000000207.15706
> 32564662599680
> -rw-r--r-- 1 apache apache 350M Jun 19 11:52 tlog.0000000000000000208.15706
> 32675203481600
> -rw-r--r-- 1 apache apache 341M Jun 19 12:02 tlog.0000000000000000209.15706
> 32782571372544
> -rw-r--r-- 1 apache apache 336M Jun 19 12:12 tlog.0000000000000000210.15706
> 32886154952706
> -rw-r--r-- 1 apache apache 339M Jun 19 12:22 tlog.0000000000000000211.15706
> 32992137674754
> -rw-r--r-- 1 apache apache 336M Jun 19 12:32 tlog.0000000000000000212.15706
> 33103262613505
> -rw-r--r-- 1 apache apache 341M Jun 19 12:42 tlog.0000000000000000213.15706
> 33212055519233
> -rw-r--r-- 1 apache apache 341M Jun 19 12:52 tlog.0000000000000000214.15706
> 33334366666752
> -rw-r--r-- 1 apache apache 344M Jun 19 13:02 tlog.0000000000000000215.15706
> 33444512235520
> -rw-r--r-- 1 apache apache 364M Jun 19 13:12 tlog.0000000000000000216.15706
> 33559541022722
> -rw-r--r-- 1 apache apache 334M Jun 19 13:22 tlog.0000000000000000217.15706
> 33678830174208
> -rw-r--r-- 1 apache apache 341M Jun 19 13:32 tlog.0000000000000000218.15706
> 33796799168513
> -rw-r--r-- 1 apache apache 339M Jun 19 13:42 tlog.0000000000000000219.15706
> 33915684618240
> -rw-r--r-- 1 apache apache 320M Jun 19 13:52 tlog.0000000000000000220.15706
> 34032865083393
> -rw-r--r-- 1 apache apache 351M Jun 19 14:02 tlog.0000000000000000221.15706
> 34135575199745
> -rw-r--r-- 1 apache apache 338M Jun 19 14:12 tlog.0000000000000000222.15706
> 34250321920001
> -rw-r--r-- 1 apache apache 344M Jun 19 14:22 tlog.0000000000000000223.15706
> 34365979852803
> -rw-r--r-- 1 apache apache 343M Jun 19 14:32 tlog.0000000000000000224.15706
> 34471661633536
> -rw-r--r-- 1 apache apache 351M Jun 19 14:42 tlog.0000000000000000225.15706
> 34597027282945
> -rw-r--r-- 1 apache apache 340M Jun 19 14:52 tlog.0000000000000000226.15706
> 34711229792256
> -rw-r--r-- 1 apache apache 349M Jun 19 15:02 tlog.0000000000000000227.15706
> 34815023087616
> -rw-r--r-- 1 apache apache 348M Jun 19 15:12 tlog.0000000000000000228.15706
> 34922535682050
> -rw-r--r-- 1 apache apache 330M Jun 19 15:22 tlog.0000000000000000229.15706
> 35022745993218
> -rw-r--r-- 1 apache apache 332M Jun 19 15:32 tlog.0000000000000000230.15706
> 35137936261120
> -rw-r--r-- 1 apache apache 344M Jun 19 15:42 tlog.0000000000000000231.15706
> 35246269890560
> -rw-r--r-- 1 apache apache 338M Jun 19 15:52 tlog.0000000000000000232.15706
> 35354965278720
> -rw-r--r-- 1 apache apache 341M Jun 19 16:02 tlog.0000000000000000233.15706
> 35478030352385
> -rw-r--r-- 1 apache apache 346M Jun 19 16:12 tlog.0000000000000000234.15706
> 35608948211713
> -rw-r--r-- 1 apache apache 278M Jun 19 16:22 tlog.0000000000000000235.15706
> 35723383504897
>
>

-- 


This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient, 
you must not copy this message or attachment or disclose the contents to 
any other person. If you have received this transmission in error, please 
notify the sender immediately and delete the message and any attachment 
from your system. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not accept liability for any omissions or errors in this 
message which may arise as a result of E-Mail-transmission or for damages 
resulting from any unauthorized changes of the content of this message and 
any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its 
subsidiaries do not guarantee that this message is free of viruses and does 
not accept liability for any damages caused by any virus transmitted 
therewith.

Click http://www.emdgroup.com/disclaimer to access the German, French, 
Spanish and Portuguese versions of this disclaimer.