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: open and access memory mapped file in read...
Date Wed, 31 Dec 2014 17:49:30 GMT
GitHub user laimis opened a pull request:

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

    open and access memory mapped file in read mode

    ~80 tests failed with UnauthorizedAccessException : Access to the path is denied. that
point to MMapDirectory.Map call and how it accesses the MemoryMappedFile. Looks like we need
to be explicit with "Read" flag when we open it and read from memory mapped files.
    
    (Java version also accesses the file in MMapDirectory in Read Only mode: https://github.com/apache/lucene-solr/blob/lucene_solr_4_8_0/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java)
    
    I don't expect this commit to fix all of those tests as once the code gets passed the
access denied it runs into other errors (e.g. timeout), but it gets us moving forward.

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

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

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

    https://github.com/apache/lucenenet/pull/38.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 #38
    
----
commit b47de89ef9f832163eda803f84b88bb21f479529
Author: Laimonas Simutis <laimis@gmail.com>
Date:   2014-12-31T17:42:54Z

    open and access memory mapped file in read mode

----


---
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