During indexing logs show No sub-file with id <id> found during indexing

Matthew Harkins April 4, 2017

We've experienced this error about a 1/2 dozen times over the past 2 or 3 months.  A quick search lands us on https://confluence.atlassian.com/jirakb/jira-throws-no-sub-file-with-id-found-when-indexing-755336650.html   which points to a lucene bug https://issues.apache.org/jira/browse/LUCENE-5541 that says the problem is lessened in 4.x versions of JIRA.

This confluence article was written in 2015 if the logs in the article are to be believed.  Why has lucene not been updated to 4.x in JIRA in the past two years?  Our web-inf dir shows version 3.3.0

jira-lucene-dmz-7.3.3.jar

lucene-analyzers-3.3.0.jar

lucene-core-3.3.0-atlassian-1.jar

lucene-extras-3.3.0-atlassian-3.jar

Has anyone else experienced recurring issues with the Lucene index like this?  If so how did you fix it?  How can we get Atlassian to upgrade the Lucene version to a version that is less prone towards this error?

1 answer

0 votes
Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2017

Hi Matthew,

As we can see, LUCENE-5541 still an open bug, which means the error would still happen even on the latest version of Lucene. 

Besides that, have you tried all the information from the KB:

  • Filesystem permissions.
  • Network storage locations.

A simple test to check if this is related to any environmental aspect is to set up a test instance and load up the Production XML backup. See if you can reproduce the error.

I hope that this helps. Cheers!

Suggest an answer

Log in or Sign up to answer