lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <...@git.apache.org>
Subject [GitHub] lucenenet pull request: Use only LogDocMergePolicy while fixing Lo...
Date Tue, 27 Jan 2015 03:10:19 GMT
GitHub user laimis opened a pull request:

    https://github.com/apache/lucenenet/pull/63

    Use only LogDocMergePolicy while fixing LogByteSizeMergePolicy

    CI builds are timing out after running for an hour. I have tracked down the issue to the
use of LogByteSizeMergePolicy for merges. Lucene tests randomly select merge policy from the
two choices, one of them being LogByteSize. There are two conditions necessary for the issue
to be triggered:
    
    - LogByteSizeMergePolicy needs to be selected by random switches
    - mergePolicy.NoCFSRatio needs to be set to something between 0.0 and 1.0
    
    When these two conditions are true, segment merge keeps on running merges over and over
and over again until out of memory is reached or segments to be merged list is greater than
max long.
    
    While I check on the issue with this merge policy, we can disable it from being used so
that the rest of the PRs can be pulled in and immediate feedback from CI received.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/laimis/lucenenet temporary_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucenenet/pull/63.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #63
    
----
commit 07c8f1c35de15ee9ce0cf2ae9657edc03d4742af
Author: Laimonas Simutis <laimis@gmail.com>
Date:   2015-01-27T03:02:46Z

    use only LogDocMergePolicy while fixing LogByteSizeMergePolicy

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message