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

Invalid segment file name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0
    • Fix Version/s: 7.2, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: