[ https://issues.apache.org/jira/browse/SOLR-11277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479402#comment-16479402 ]
Anshum Gupta commented on SOLR-11277: ------------------------------------- {quote}More of a performance implication, but probably not significant compared to the cost of a commit. {quote} True. I think it should be ok, but if have anything reported, we can go back and make it better. {quote}bq. docsSinceCommit will also be incorrectly zeroed, but given it's use, it shouldn't be a big deal if it can be off by a few. {quote} Yes, I thought about that and considering the use here, we don't really need to be accurate. > Add auto hard commit setting based on tlog size > ----------------------------------------------- > > Key: SOLR-11277 > URL: https://issues.apache.org/jira/browse/SOLR-11277 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Rupa Shankar > Assignee: Anshum Gupta > Priority: Major > Fix For: 7.4, master (8.0) > > Attachments: SOLR-11277.01.patch, SOLR-11277.patch, SOLR-11277.patch, > SOLR-11277.patch, SOLR-11277.patch, SOLR-11277.patch, SOLR-11277.patch, > SOLR-11277.patch, max_size_auto_commit.patch > > Time Spent: 20m > Remaining Estimate: 0h > > When indexing documents of variable sizes and at variable schedules, it can > be hard to estimate the optimal auto hard commit maxDocs or maxTime settings. > We’ve had some occurrences of really huge tlogs, resulting in serious issues, > so in an attempt to avoid this, it would be great to have a “maxSize” setting > based on the tlog size on disk. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org