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.