I'm going to punt on the rationale since I wasn't involved in that discussion.

numRecordsToKeep can be configured in the <updateLog> section of
solrconfig.xml if you want to change it though.

Best,
Erick

On Tue, Jul 18, 2017 at 10:53 AM, suresh pendap <sureshfors...@gmail.com> wrote:
> Hi,
> After looking at the source code I see that the default values for
> numRecordsToKeep is 100 and maxNumLogsToKeep is 10.
>
> So it seems by default the replica can only have 1000 document updates lag
> before the replica goes for a Full recovery from the leader.
>
> I would like to know the rationale for keeping so low values for these
> configurations.
>
> If the idea for these configuration params is to avoid full recovery for
> down replicas then shouldn't the default values for these config params be
> high?
>
> I understand that higher values would mean more disk space consumed by the
> update logs, but the current default values seem to be very low.
>
> Is my understanding of these configuration params correct?
>
> Thanks
> Suresh

Reply via email to