Confluence version: 5.1
Logging: Have added com.atlassian.confluence.search.lucene package and set it to DEBUG (both dev and prod)
On our production server, confluence content index queue is not being flushed automatically. I see that new entries are added to the queue:
2013-12-18 04:44:49,238 DEBUG [http-8090-21] [search.lucene.queue.DatabaseIndexTaskQueue] enqueue Enqueuing task: IndexQueueEntry{id=0, handle='com.atlassian.confluence.pages.Page-2005661', type=Unknown, creationDate=Wed Dec 18 04:44:49 CST 2013}
2013-12-18 04:44:49,240 DEBUG [http-8090-21] [search.lucene.queue.DatabaseIndexTaskQueue] enqueue Enqueuing task: IndexQueueEntry{id=0, handle='com.atlassian.confluence.pages.Page-2005661', type=Unknown, creationDate=Wed Dec 18 04:44:49 CST 2013}
But they arent being indexed/flushed.
However, on our dev server, I dont see this issue. More importantly, I see messages like these on dev server but not on production server:
2013-12-18 06:47:30,006 DEBUG [scheduler_Worker-6] [confluence.search.lucene.DefaultConfluenceIndexManager] flushQueue flush requested
I should be seeing these messages on production server too.
In production, under scheduled jobs, for Flush Index Queue History I see that it the job seems to have ran every 5 sec but I shouldnt I see log messages like in dev: "flushQueue flush requested" ? Also the Duration in production is 0 or 1 ms but in dev it is > 2 ms. I agree our production servers are powerful but 0 ms seems suspicious.
I looked at this article:
https://confluence.atlassian.com/display/CONFKB/Confluence+Fails+to+Process+Index+Queue+Automatically
but I dont see any "getUnflushedEntries" message in prod. I do see them in dev though.
I am suspecting the issue is with Quartz scheduler. Any pointers?
Hi,
Have you tried rebuilding the index from scratch?
you can follow the instructions in the following link:
https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch
Hope this helps
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.