Issue Details (XML | Word | Printable)

Key: JRA-11861
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Unassigned
Reporter: Nick Menere [Atlassian]
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JIRA

Doc out of order exception when merging

Created: 01/Jan/07 10:05 PM   Updated: 05/Feb/07 04:58 PM
Component/s: Filtering & Indexing
Affects Version/s: 3.7, 3.7.1
Fix Version/s: 3.7.2

Time Tracking:
Not Specified

File Attachments: 1. Java Archive File bonnie-2007-01-11-1.jar (111 kB)
2. Java Archive File lucene-core-1.9.1-atlassian-patched-2007-01-09.jar (407 kB)


Participants: Collin Summers, Dylan Etkin [Atlassian], Jed Wesley-Smith [Atlassian], Michelle de Guzman, Nathan Jones, Nick Menere [Atlassian] and Yuji Shinozaki
Since last comment: 1 year, 35 weeks ago
Resolution Date: 10/Jan/07 08:04 PM
Labels:


 Description  « Hide
Something in 3.7 causes the error reported at - http://issues.apache.org/jira/browse/LUCENE-140

It occurs in two places, inside IndexWriter.addDocument():

java.lang.IllegalStateException: docs out of order
at org.apache.lucene.index.SegmentMerger.appendPostings([Lorg/apache/lucene/index/SegmentMergeInfo;I)I(Optimized Method)
at org.apache.lucene.index.SegmentMerger.mergeTermInfo([Lorg/apache/lucene/index/SegmentMergeInfo;I)V(Optimized Method)
at org.apache.lucene.index.SegmentMerger.mergeTermInfos()V(Optimized Method)
at org.apache.lucene.index.SegmentMerger.mergeTerms()V(Optimized Method)
at org.apache.lucene.index.SegmentMerger.merge()I(Optimized Method)
at org.apache.lucene.index.IndexWriter.mergeSegments(II)V(IndexWriter.java:681)
at org.apache.lucene.index.IndexWriter.mergeSegments(I)V(IndexWriter.java:658)
at org.apache.lucene.index.IndexWriter.maybeMergeSegments()V(IndexWriter.java:646)
at org.apache.lucene.index.IndexWriter.addDocument(Lorg/apache/lucene/document/Document;Lorg/apache/lucene/analysis/Analyzer;)V(IndexWriter.java:453)
at org.apache.lucene.index.IndexWriter.addDocument(Lorg/apache/lucene/document/Document;)V(IndexWriter.java:436)

and inside IndexWriter.close():

java.lang.IllegalStateException: docs out of order
at org.apache.lucene.index.SegmentMerger.appendPostings([Lorg/apache/lucene/index/SegmentMergeInfo;I)I(Optimized Method)
at org.apache.lucene.index.SegmentMerger.mergeTermInfo([Lorg/apache/lucene/index/SegmentMergeInfo;I)V(Optimized Method)
at org.apache.lucene.index.SegmentMerger.mergeTermInfos()V(Optimized Method)
at org.apache.lucene.index.SegmentMerger.mergeTerms()V(Optimized Method)
at org.apache.lucene.index.SegmentMerger.merge()I(Optimized Method)
at org.apache.lucene.index.IndexWriter.mergeSegments(II)V(IndexWriter.java:681)
at org.apache.lucene.index.IndexWriter.mergeSegments(I)V(IndexWriter.java:658)
at org.apache.lucene.index.IndexWriter.flushRamSegments()V(IndexWriter.java:628)
at org.apache.lucene.index.IndexWriter.close()V(IndexWriter.java:375)

The second one exposes a problem in the close() method which is that the index write.lock is not released when exceptions are thrown in close() causing subsequent attempts to open an IndexWriter to fail.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Nick Menere [Atlassian] added a comment - 01/Jan/07 10:05 PM

Michelle de Guzman added a comment - 03/Jan/07 11:01 PM
Another user experiencing this error at JSP-9358.

Dylan Etkin [Atlassian] added a comment - 04/Jan/07 01:18 AM
This happened again on jira.atlassian.com on the 3rd of Jan at midnight, it seemed to be triggered by the optimization and resulted in a slightly different stack trace:
2007-01-03 00:00:00,020 JiraQuartzScheduler_Worker-0 INFO [issue.index.job.OptimizeIndexJob] Optimize Index Job running...
2007-01-03 00:00:00,467 JiraQuartzScheduler_Worker-0 ERROR [issue.index.job.OptimizeIndexJob] Error occurred while optimizing indexes.
java.lang.ArrayIndexOutOfBoundsException
        at org.apache.lucene.index.SegmentReader.isDeleted(I)Z(Optimized Method)
        at org.apache.lucene.index.SegmentMerger.mergeFields()I(Optimized Method)
        at org.apache.lucene.index.SegmentMerger.merge()I(Optimized Method)
        at org.apache.lucene.index.IndexWriter.mergeSegments(II)V(IndexWriter.java:681)
        at org.apache.lucene.index.IndexWriter.mergeSegments(I)V(IndexWriter.java:658)
        at org.apache.lucene.index.IndexWriter.optimize()V(IndexWriter.java:517)
        at com.atlassian.bonnie.ConcurrentLuceneConnection$2.perform(Lorg/apache/lucene/index/IndexWriter;)V(ConcurrentLuceneConnection.java:121)
        at com.atlassian.bonnie.ConcurrentLuceneConnection.withWriter(Lcom/atlassian/bonnie/ILuceneConnection$WriterAction;)V(ConcurrentLuceneConnection.java:276)
        at com.atlassian.bonnie.ConcurrentLuceneConnection.optimize()V(ConcurrentLuceneConnection.java:117)
        at com.atlassian.jira.issue.index.SingleThreadedIssueIndexer.optimize()V(SingleThreadedIssueIndexer.java:74)
        at com.atlassian.jira.issue.index.DefaultIndexManager.optimize0()J(DefaultIndexManager.java:393)
        at com.atlassian.jira.issue.index.DefaultIndexManager.optimize()J(DefaultIndexManager.java:370)
        at com.atlassian.jira.issue.index.job.OptimizeIndexJob.execute(Lorg/quartz/JobExecutionContext;)V(OptimizeIndexJob.java:19)
        at org.quartz.core.JobRunShell.run()V(JobRunShell.java:191)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run()V(SimpleThreadPool.java:516)
        at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unknown Source)
2007-01-03 00:01:08,865 resin-tcp-connection-j2ee.jira.atlassian.com:6802-77 ERROR [atlassian.jira.workflow.SimpleWorkflowManager] An exception occurred
java.lang.ArrayIndexOutOfBoundsException
        at org.apache.lucene.index.SegmentTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)
        at org.apache.lucene.index.MultiTermDocs.next()Z(Optimized Method)

Every lucene read after the optimize was throwing the second stack trace listed above. A reindex seems to have sorted the immediate issue, but it is likely to return.


Nick Menere [Atlassian] added a comment - 04/Jan/07 10:41 PM
Might be worth porting logging from Lucene 2 for the SegmentMerger. Outputs the doc numbers when out of order.

Nathan Jones added a comment - 07/Jan/07 09:33 PM
Hi all,

Thought I should post here instead of creating a new thread as the problem was similar. We've been having this problem rather sporadically since upgrading to 3.7, only in our case it's been when we've been creating issues. I've also been messing around with typed sub-tasks at the same time, but I'm not sure if thats the problem or a coincidence.

Our stack trace is similar:
2007-01-08 10:40:44,019 http-8080-Processor11 ERROR [event.listeners.search.IssueIndexListener] Error re-indexing Issue[GenericEntity:Issue][created,2007-01-08 10:40:43.944][summary,Exporting File Overlays][workflowId,13973][timeoriginalestimate,null][type,3][timespent,null][environment,null][status,1][updated,2007-01-08 10:40:43.944][id,12751][timeestimate,null][key,projectname-166][description,null][duedate,null][reporter,username][project,10090][security,null][votes,0][assignee,username][priority,3]
java.lang.IllegalStateException: docs out of order
at org.apache.lucene.index.SegmentMerger.appendPostings(SegmentMerger.java:335)
at org.apache.lucene.index.SegmentMerger.mergeTermInfo(SegmentMerger.java:298)
at org.apache.lucene.index.SegmentMerger.mergeTermInfos(SegmentMerger.java:272)
at org.apache.lucene.index.SegmentMerger.mergeTerms(SegmentMerger.java:236)
at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:89)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:681)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:658)
at org.apache.lucene.index.IndexWriter.flushRamSegments(IndexWriter.java:628)
at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:375)
at com.atlassian.bonnie.ConcurrentLuceneConnection.closeWriter(ConcurrentLuceneConnection.java:483)
at com.atlassian.bonnie.ConcurrentLuceneConnection.withWriter(ConcurrentLuceneConnection.java:289)
at com.atlassian.bonnie.ConcurrentLuceneConnection.withDeleteAndWrites(ConcurrentLuceneConnection.java:305)
at com.atlassian.jira.issue.index.SingleThreadedIssueIndexer.reindexIssues(SingleThreadedIssueIndexer.java:332)
at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:287)
at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:244)
at com.atlassian.jira.issue.index.DefaultIndexManager.reIndex(DefaultIndexManager.java:264)
at com.atlassian.jira.event.listeners.search.IssueIndexListener.reIndex(IssueIndexListener.java:109)
at com.atlassian.jira.event.listeners.search.IssueIndexListener.reIndex(IssueIndexListener.java:119)
at com.atlassian.jira.event.listeners.search.IssueIndexListener.issueCreated(IssueIndexListener.java:50)
at com.atlassian.jira.event.issue.AbstractIssueEventListener.workflowEvent(AbstractIssueEventListener.java:98)
at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:107)
at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:88)
at com.atlassian.jira.workflow.function.event.FireIssueEventFunction.execute(FireIssueEventFunction.java:59)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1179)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1434)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:584)
at com.atlassian.jira.workflow.SimpleWorkflowManager.createIssue(SimpleWorkflowManager.java:184)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:369)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:317)
at sun.reflect.GeneratedMethodAccessor846.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:71)
at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28)
at $Proxy3.createIssue(Unknown Source)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.createIssue(CreateIssueDetails.java:141)
at com.atlassian.jira.web.action.issue.CreateIssueDetails.doExecute(CreateIssueDetails.java:110)
at webwork.action.ActionSupport.execute(ActionSupport.java:153)
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:209)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:64)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:25)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

I've been trying to recreate it, but I've been having problems trying to do so. I've tried repeating the way I thought I'd done it before to no avail. Any ideas?

Cheers,
Nathan Jones
Thales Australia


Jed Wesley-Smith [Atlassian] added a comment - 07/Jan/07 09:45 PM
Hi Nathan,

This is a very strange Lucene bug. Currently we don't have a test that repeatably recreates the issue, but we are working on creating one. We will be following it up with the Lucene developers here.

Out of interest, how many users do you have using JIRA at any one time? Also, are you using Windows/Linux/Mac and what Java version (I'm guessing 1.5)?

cheers,
jed.


Nathan Jones added a comment - 07/Jan/07 10:43 PM
Hey Jed,

Will keep tabs on it, for the moment I'm just going to have to keep re-indexing it whenever someone has a problem. If I come across it myself, I shall try to work out exactly what I've done to cause it.

We have somewhere over 400 users, I'd say there is probably anywhere from 0 to 40 people accessing it at any one time. We're running a Red Hat Enterprise 3 in a VM, Java 1.5.

Cheers,
Nathan


Yuji Shinozaki added a comment - 08/Jan/07 03:28 PM
I have seen this too (on 3.7) when I am closing several issues (which I will do periodically when reviewing stale issues).
And I also seen an exception if I immediately try to re-index (Cannot create index directory) with this Root cause:

Caused by: java.io.IOException: Lock obtain timed out: Lock@/usr/local/tomcat/te
mp/lucene-12a4ad9e6e656ef30ee6974302e30e75-write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:58)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:255)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:245)
at com.atlassian.bonnie.ConcurrentLuceneConnection.recreateIndexDirector
y(ConcurrentLuceneConnection.java:141)

But, it seems that if you wait long enough, the re-indexing works fine (and I think the docs out of order exceptions are also gone).
So it might be a locking/concurrency issue.


Jed Wesley-Smith [Atlassian] added a comment - 08/Jan/07 10:25 PM
attached is a lucene-core jar that prevents a potential source of the docs out of order issue, (explanation and fix thanks to Michael McCandless).

To use, please replace the lucene-core-1.9.1.jar with the attached lucene-core-1.9.1-atlassian-patched-2007-01-09.jar in JIRA's WEB-INF/lib/ directory and restart JIRA. You must delete or move the ucene-core-1.9.1.jar


Jed Wesley-Smith [Atlassian] added a comment - 08/Jan/07 11:09 PM
Hi Nathan, thanks for the info.

Hi Yuji,

The reason you see lock timeout is that the lock isn't released properly due to the IndexWriter.close() method throwing an exception - details here. It eventually works as the lock is cleared via the finalize() method on the writer when it gets GC'd.


Jed Wesley-Smith [Atlassian] added a comment - 09/Jan/07 01:43 AM
Well the patch fixes a limited form where the error can occur, but it doesn't appear to fix our problem.

If anyone is having this problem, could you please:

  • Stop JIRA
  • Manually delete the index directories completely
  • Restart JIRA
  • Reindex
  • Let us know how you go

We currently suspect that it has to do with old index segment files hanging around and we are currently trying to verify this.


Jed Wesley-Smith [Atlassian] added a comment - 10/Jan/07 08:02 PM
Thanks to the Lucene developers, we have found the cause of this. It is indeed old index files being left around when we reindex. The fix is going into 3.7.2, but a new version of Bonnie is attached that can be used for 3.7 & 3.7.1

To install the patch, please replace the bonnie-2006-12-14.jar in the WEB-INF/lib directory with the attached bonnie-2007-01-11-1.jar and then reindex.


Jed Wesley-Smith [Atlassian] added a comment - 10/Jan/07 08:04 PM
Attached bonnie jar fixes the problem, 3.7.2 will have the fixed bonnie jar as well.

There is no need to install the attached lucene jar as it fixes a problem that JIRA does not expose.


Collin Summers added a comment - 22/Jan/07 12:37 PM
We upgraded to 3.7.2 and we are still getting this error.

Dylan Etkin [Atlassian] added a comment - 22/Jan/07 04:28 PM
Hi Collin,
Are you certain that you are seeing the error on 3.7.2. We have had a number of customers verify that an upgrade to 3.7.2 has fixed this problem for them. Did you start JIRA with the flag -Djira.task.reindexAll.complete=true? If so JIRA would not have performed its reindexing upgrade task and you would still be seeing the issue. Depending on how you upgraded (if you just copied all the jars in WEB-INF/lib across to your new instance), you could still have the older version of the bonnie jar on your classpath. You should only have the bonnie-2007-01-11-1.jar in that directory. If a re-index does not sort the problem out then can I get you to open a support request at https://support.atlasian.com?
Thanks,
Dylan

Collin Summers added a comment - 28/Jan/07 09:55 PM
Yes we still see this error in 3.7.2.

I am a bit confused by your comment. Am I supposed to start it with "-Djira.task.reindexAll.complete=true"?

I didn't copy my lib folder over just the config changes I needed so that should not be the problem.

I have forced a re index and a optimized the index and i still had the problem. in fact I have to reindex to get "missing" ticket back int the views.

I did open a new problem and it was resolved as a duplicate for this request

Thanks,

Collin


Nick Menere [Atlassian] added a comment - 05/Feb/07 04:58 PM
Collin,

Sorry, we dropped the ball on this one.
Have you seen this issue since. After upgrading to 3.7.2 we haven't had any reports of this and we are really confident that we managed to fix it.
If you are still seeing it, I would recommend deleting your index directory manually and doing a reindex. This should put your index into a good state and we are confident the should stay that way.

Once again, sorry for the delay on this one.

Cheers,
Nick