|
[
Permlink
| « Hide
]
Michael McCandless added a comment - 16/Jan/09 03:59 PM
Ugh, right. Plus another one (* 16) in TermVectorsTermsWriter.java. I'll fix.
Committed revision 735043. Thanks Shon!
Reopening for backport to 2.4.1.
Committed revision 745803 on 2.4 branch.
Note that this issue only hits an index with many (> ~268 million) docs.
I received this on 2.4.1, not sure if it is this bug or not:
Exception in thread "main" java.lang.RuntimeException: after flush: fdx size mismatch: 10 docs vs 0 length in bytes of _sl3.fdx at org.apache.lucene.index.StoredFieldsWriter.closeDocStore(StoredFieldsWriter.java:94) at org.apache.lucene.index.DocFieldConsumers.closeDocStore(DocFieldConsumers.java:83) at org.apache.lucene.index.DocFieldProcessor.closeDocStore(DocFieldProcessor.java:47) at org.apache.lucene.index.DocumentsWriter.closeDocStore(DocumentsWriter.java:367) at org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:567) at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3540) at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3450) at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3363) at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3408) at edu.jhu.library.ivoa.VOImageAccessUrlDownload.go(VOImageAccessUrlDownload.java:357) at edu.jhu.library.ivoa.VOImageAccessUrlDownload.main(VOImageAccessUrlDownload.java:103) I'm working with over 500,000 docs in this particular index. Nevermind, it doesn't look like this is an occurrence of this bug. Not sure what happened... underlying storage is a ZFS file system. Anyway, this thread http://www.mail-archive.com/solr-user@lucene.apache.org/msg22264.html
Is there any thing in your env that might be removing index files out from under the IndexWriter? Are you changing your Directory's default locking impl, or disabling locking?
ZFS should be fine – I use it in my daily development. What a fabulous file system |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||