Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22922

Index not updating due to stale lock file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Support Request
    • Medium
    • None
    • 3.5.5, 3.5.7
    • None

    Description

      After a few days of reguluar operation, the recently changed pages on the frontpage won't update. The Index Queue under Content Indexing shows that the last processed date is a long time in the past. After investigating the logfile catalina.out, the following exception seems to be the problem:

      Exception in thread "Indexer: 1" org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:626)
      at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:139)
      at com.atlassian.confluence.search.lucene.DefaultObjectQueueWorker.run(DefaultObjectQueueWorker.java:51)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      This exception is duplicated for multiple (all?) indexers.

      After investigating the issue further, I found that a stale lockfile was in the Confluence working directory under index, called write.lock. After removing this file and restarting Confluence everything is working again.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              da39327c-9153-4c2e-a2a6-80f0f513aa25 Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: