We have been experiencing this same issue for months now, with version 6.2. No
solution to date.
-Original Message-
From: Xie, Sean [mailto:sean@finra.org]
Sent: Sunday, July 09, 2017 9:41 PM
To: solr-user@lucene.apache.org
Subject: [EXTERNAL] Re: CDCR - how to deal with the transaction log files
Did another round of testing, the tlog on target cluster is cleaned up once the
hard commit is triggered. However, on source cluster, the tlog files stay there
and never gets cleaned up.
Not sure if there is any command to run manually to trigger the
updateLogSynchronizer. The updateLogSynchronizer already set at run at every 10
seconds, but seems it didn’t help.
Any help?
Thanks
Sean
On 7/8/17, 1:14 PM, "Xie, Sean" wrote:
I have monitored the CDCR process for a while, the updates are actively
sent to the target without a problem. However the tlog size and files count are
growing everyday, even when there is 0 updates to sent, the tlog stays there:
Following is from the action=queues command, and you can see after about a
month or so running days, the total transaction are reaching to 140K total
files, and size is about 103G.
0
465
0
2017-07-07T23:19:09.655Z
102740042616
140809
stopped
Any help on it? Or do I need to configure something else? The CDCR
configuration is pretty much following the wiki:
On target:
disabled
cdcr-processor-chain
${solr.ulog.dir:}
${solr.autoCommit.maxTime:18}
false
${solr.autoSoftCommit.maxTime:3}
On source:
${TargetZk}
MY_COLLECTION
MY_COLLECTION
1
1000
128
6
${solr.ulog.dir:}
${solr.autoCommit.maxTime:18}
false
${solr.autoSoftCommit.maxTime:3}
Thanks.
Sean
On 7/8/17, 12:10 PM, "Erick Erickson" wrote:
This should not be the case if you are actively sending updates to the
target cluster. The tlog is used to store unsent updates, so if the
connection is broken for some time, the target cluster will have a
chance to catch up.
If you don't have the remote DC online and do not intend to bring it
online soon, you should turn CDCR off.
Best,
Erick
On Fri, Jul 7, 2017 at 9:35 PM, Xie, Sean wrote:
> Once enabled CDCR, update log stores an unlimited number of entries.
This is causing the tlog folder getting bigger and bigger, as well as the open
files are growing. How can one reduce the number of open files and also to
reduce the tlog files? If it’s not taken care properly, sooner or later the log
files size and open file count will exceed the limits.
>
> Thanks
> Sean
>
>
> 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.
Nothing in this message is intended to constitute an electronic signature
unless a specific statement to the contrary is included in this message.
Confidentiality Note: This message is intended only for the person or entity to
which it is addressed. It may contain confidential and/or privileged material.
Any review, transmission, dissemination or other use, or taking of any action
in reliance upon this message by persons or entities other than the intended
recipient is prohibited and may be unlawful. If you received this message in
error, please contact the sender and delete it from your computer.