lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamas Varga (JIRA)" <>
Subject [jira] [Created] (LUCENENET-521) Concurrency bug with MMapDirectory
Date Thu, 02 May 2013 13:44:16 GMT
Tamas Varga created LUCENENET-521:

             Summary: Concurrency bug with MMapDirectory
                 Key: LUCENENET-521
             Project: Lucene.Net
          Issue Type: Bug
          Components: Lucene.Net Core
    Affects Versions: Lucene.Net 3.0.3
         Environment: Visual Studio 2012, Lucene.Net 3.0.3 via Nudget, Windows 8 64bit, 4GB
            Reporter: Tamas Varga
            Priority: Blocker

It seems like mmapdirectory doesnt handle concurrency
this works fine:

This: (note that the only diff is, that i changed the FsDirectory.Open(newDirInfo)
to new MMapDirectory(newDirinfo) )
fails with exception:
{System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less
than the size of the collection.
Full exception here:

If in the second code example I set the concurrentTaskCount to 1, everything is just fine.

Looks like a concurrency bug for me. I am missing something?


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message