Varun Thacker created SOLR-11483:
------------------------------------

             Summary: Keep more transaction log files when maxNumLogsToKeep is 
specified
                 Key: SOLR-11483
                 URL: https://issues.apache.org/jira/browse/SOLR-11483
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Varun Thacker


We allow users to control the number of transaction log files the system should 
keep ( maxNumLogsToKeep ) and the number of records to keep ( numRecordsToKeep )

However just by setting numRecordsToKeep we are not guaranteed that the system 
will actually keep that many records.  

This comment explains why - 
https://issues.apache.org/jira/browse/SOLR-6359?focusedCommentId=15214361&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15214361

A tradeoff would be if a user explicitly specifies  numRecordsToKeep and 
doesn't specify maxNumLogsToKeep then we should use a higher default for 
maxNumLogsToKeep ( say 1000 instead of 10 today )

Off course better documentation will help so if others think this is a bad idea 
then we can close this out and just make sure it's documented and if users know 
about one parameter they will know about the other parameter as well



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to