Adrien Grand created LUCENE-5004:
------------------------------------

             Summary: Improve MockDirectoryWrapper byte size tracking
                 Key: LUCENE-5004
                 URL: https://issues.apache.org/jira/browse/LUCENE-5004
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Adrien Grand
            Priority: Minor


Test failure and start of discussion at 
http://markmail.org/message/tyxxmg5blrczvqx3.

The problem is that MockDirectoryWrapper only checks for disk full errors in 
writeByte(s) although with RAMDirectory, some bytes only get accounted upon 
flush and seek (see MockDirectoryWrapper.getRecomputedActualSizeInBytes and 
call sites of RAMOutputStream.setFileLength).

--
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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to