Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-8976

domains finder take a long time on huge folders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5
    • Fix Version/s: 5.5.0-HF04, 5.6-RC1, 5.6
    • Component/s: Core

      Description

      When starting Nuxeo and there's a huge number of documents at the root, it may spend a long time in:

      at org.nuxeo.ecm.core.api.AbstractSession.getChildren(AbstractSession.java:1088)
              at org.nuxeo.ecm.core.api.AbstractSession.getChildren(AbstractSession.java:1076)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:601)
              at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:129)
              at $Proxy24.getChildren(Unknown Source)
              at org.nuxeo.ecm.platform.publisher.impl.service.DomainsFinder.getDomainsFiltered(DomainsFinder.java:52)
              at org.nuxeo.ecm.platform.publisher.impl.service.DomainsFinder.run(DomainsFinder.java:43)
              at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:156)
              at org.nuxeo.ecm.platform.publisher.impl.service.DomainsFinder.getDomains(DomainsFinder.java:61)
              at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.registerPendingDescriptors(PublisherServiceImpl.java:678)
              at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.doApplicationStarted(PublisherServiceImpl.java:110)
              at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.applicationStarted(PublisherServiceImpl.java:93)
              at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:309
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fguillaume Florent Guillaume
                Reporter:
                fguillaume Florent Guillaume
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: