Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7999

Invalid segment file name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.0
    • 7.2, 8.0
    • None
    • None
    • New

    Description

      After really long and intensive index usage its possible to overflow counter that used to generate new segment name that will not satisfy validation criteria:

      Caused by: java.lang.IllegalArgumentException: invalid codec filename '-zik0zk_Lucene54_0.dvm', must match: _[a-z0-9]+(.)?\..
      at org.apache.lucene.index.SegmentInfo.checkFileNames(SegmentInfo.java:280)
      at org.apache.lucene.index.SegmentInfo.addFiles(SegmentInfo.java:262)
      at org.apache.lucene.index.SegmentInfo.setFiles(SegmentInfo.java:256)
      at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4080)
      at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3655)
      at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:588)
      at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:626)

      Attachments

        1. LUCENE-7999.patch
          6 kB
          Mykhailo Demianenko
        2. segmentName.patch
          6 kB
          Mykhailo Demianenko

        Activity

          People

            Unassigned Unassigned
            mikedemi Mykhailo Demianenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: