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

Performance problem on import of very large folders

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0-HF31, 7.10-HF11, 8.3
    • Component/s: Importer

      Description

      When the importer scans folders with a very large number of files, there is a performance problem due to a quadratic algorithm.

      This gets even worse if the imported files are sitting on relatively slow storage like a NAS.

      The culprit is org.nuxeo.ecm.platform.importer.source.FileWithIndividualMetadasSourceNode.getChildren and its call to getPropertyTargetKey which does a quadratic scan of the listFiles.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: