You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/11/02 12:02:15 UTC

[GitHub] [solr] radu-gheorghe opened a new pull request #383: Update transaction log options descriptions

radu-gheorghe opened a new pull request #383:
URL: https://github.com/apache/solr/pull/383


   If my understanding of the UpdateLog code is right (I'm looking at this bit in particular: https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/update/UpdateLog.java#L506-L519), then:
   - new transaction logs (files) are added for each [hard] commit
   - old transaction logs are removed if there are more than maxNumLogsToKeep of them OR if we have more than numRecordsToKeep records in total
   
   This means numRecordsToKeep is not per file, but across all the files.
   
   https://issues.apache.org/jira/browse/SOLR-XXXXX
   
   <!--
   _(If you are a project committer then you may remove some/all of the following template.)_
   
   Before creating a pull request, please file an issue in the ASF Jira system for Solr:
   
   * https://issues.apache.org/jira/projects/SOLR
   
   You will need to create an account in Jira in order to create an issue.
   
   The title of the PR should reference the Jira issue number in the form:
   
   * SOLR-####: <short description of problem or changes>
   
   SOLR must be fully capitalized. A short description helps people scanning pull requests for items they can work on.
   
   Properly referencing the issue in the title ensures that Jira is correctly updated with code review comments and commits. -->
   
   
   # Description
   
   Please provide a short description of the changes you're making with this pull request.
   
   # Solution
   
   Please provide a short description of the approach taken to implement your solution.
   
   # Tests
   
   Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [ ] I have reviewed the guidelines for [How to Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms to the standards described there to the best of my ability.
   - [ ] I have created a Jira issue and added the issue ID to my pull request title.
   - [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended)
   - [ ] I have developed this patch against the `main` branch.
   - [ ] I have run `./gradlew check`.
   - [ ] I have added tests for my changes.
   - [ ] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] janhoy commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
janhoy commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-991344883


   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] radu-gheorghe commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
radu-gheorghe commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-957397496


   I'm not sure if a Jira is needed for this small change, but I can surely create one if needed. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] janhoy merged pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
janhoy merged pull request #383:
URL: https://github.com/apache/solr/pull/383


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] janhoy merged pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
janhoy merged pull request #383:
URL: https://github.com/apache/solr/pull/383


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] janhoy commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
janhoy commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-990947149


   And I wouldn't bother with a JIRA for just a one-line refguide correction.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] janhoy commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
janhoy commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-990946538


   I skimmed the code and believe you are right. Do you agree @andyetitmoves ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] radu-gheorghe commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
radu-gheorghe commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-957397496


   I'm not sure if a Jira is needed for this small change, but I can surely create one if needed. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] andyetitmoves commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
andyetitmoves commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-991238699


   > I skimmed the code and believe you are right. Do you agree @andyetitmoves ?
   
   Yep, that's correct.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] andyetitmoves commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
andyetitmoves commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-991238699


   > I skimmed the code and believe you are right. Do you agree @andyetitmoves ?
   
   Yep, that's correct.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] janhoy commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
janhoy commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-991344883


   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr] radu-gheorghe commented on pull request #383: Update transaction log options descriptions

Posted by GitBox <gi...@apache.org>.
radu-gheorghe commented on pull request #383:
URL: https://github.com/apache/solr/pull/383#issuecomment-957397496


   I'm not sure if a Jira is needed for this small change, but I can surely create one if needed. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org