lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7999) Invalid segment file name
Date Tue, 24 Oct 2017 17:17:00 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217300#comment-16217300
] 

ASF subversion and git services commented on LUCENE-7999:
---------------------------------------------------------

Commit 4c5ce2d646ba6c44aab19dab725fb74a98df4134 in lucene-solr's branch refs/heads/branch_7x
from Mike McCandless
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=4c5ce2d ]

LUCENE-7999: upgrade int to long for tracking the counter for the next segment name to prevent
overflow


> Invalid segment file name
> -------------------------
>
>                 Key: LUCENE-7999
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7999
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.x, 6.x, 7.0
>            Reporter: Mykhailo Demianenko
>            Priority: Minor
>             Fix For: master (8.0), 7.2
>
>         Attachments: LUCENE-7999.patch, segmentName.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message