Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-1730

Exception when stopping the coordinator in suspended cluster

    Details

      Description

      How to reproduce?

      • Run 2 nodes in cluster mode
      • Suspend cluster using RepositorySuspendController (via JMX)
      • Stop the coordinator
      • Exception appears on second node
      org.apache.lucene.store.AlreadyClosedException: this Directory is closed
      	at org.apache.lucene.store.Directory.ensureOpen(Directory.java:255)
      	at org.apache.lucene.store.FSDirectory.list(FSDirectory.java:534)
      	at org.exoplatform.services.jcr.impl.core.query.lucene.IndexInfos$1.run(IndexInfos.java:122)
      	at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:311)
      	at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedIOExceptionAction(SecurityHelper.java:58)
      	at org.exoplatform.services.jcr.impl.core.query.lucene.IndexInfos.read(IndexInfos.java:117)
      	at org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexInfos.onChangeMode(JBossCacheIndexInfos.java:139)
      	at org.exoplatform.services.jcr.impl.core.query.IndexerIoModeHandler.setMode(IndexerIoModeHandler.java:80)
      	at org.exoplatform.services.jcr.impl.core.query.jbosscache.IndexerCacheLoader.setMode(IndexerCacheLoader.java:161)
      	at org.exoplatform.services.jcr.impl.core.query.jbosscache.IndexerSingletonStoreCacheLoader.setIndexerMode(IndexerSingletonStoreCacheLoader.java:170)
      	at org.exoplatform.services.jcr.impl.core.query.jbosscache.IndexerSingletonStoreCacheLoader$1.run(IndexerSingletonStoreCacheLoader.java:58)
      	at java.lang.Thread.run(Thread.java:619)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tolusha Anatolii Bazko
                Reporter:
                tolusha Anatolii Bazko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 5 hours
                  5h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 5 hours
                  3h