Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6778

LucenePlugin flushCache can block

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 2.7
    • None
    • Unknown

    Description

      It seems flushCache can block on the luceneplugin. I'm not sure what is the reason but I have seen twice on xwiki 2.7 the following blocked stacktrace:

      "https://hr.xwikisas.com/xwiki/bin/preview/InventoryCode/ItemClass" daemon prio=10 tid=0xcbc91000 nid=0x43b6 in Object.wait() [0xca93d000]
      java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(Native Method)

      • waiting on <0x647f1888> (a java.lang.Thread)
        at java.lang.Thread.join(Thread.java:1143)
      • locked <0x647f1888> (a java.lang.Thread)
        at java.lang.Thread.join(Thread.java:1196)
        at com.xpn.xwiki.plugin.lucene.LucenePlugin.flushCache(LucenePlugin.java:591)
        at com.xpn.xwiki.plugin.XWikiPluginManager.flushCache(XWikiPluginManager.java:178)
        at com.xpn.xwiki.XWiki.flushCache(XWiki.java:2889)
        at com.xpn.xwiki.web.PropUpdateAction.propUpdate(PropUpdateAction.java:99)
        at com.xpn.xwiki.web.PropUpdateAction.action(PropUpdateAction.java:118)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: