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

Make bulk importer support multiple simultaneous import jobs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: 11.x
    • Component/s: Importer

      Description

      The requestor has made the following observations and suggestions:

      DefaultImporterServiceImpl.java

      This class will be created as singltion. But it saves `transactionTimeout` in the class field, however this is a per request/job parameters, and is not supposed to global shared.

      GenericMultiThreadImporter.java

      This class will have instances created as per request/job. but it has 2 static fields importTP and nbCreatedDocsByThreads which make it global shared across requests/jobs.

      GenericThreadImportTask.java

      This class will have instances created as per request/job. but it has a static field taskCounter which makes it global shared across requests/jobs.

      AbstractImporterExecutor.java

      This class will have instances created as per request/job. but it has 3 static fields log, executorMainThread and lastRunner which make it global shared across requests/jobs.

      AbstractJaxRSImporterExecutor.java

      All the bulk importer job related URL is not bulk importer task/job specific because only one bulk import job is allowed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hbrown Harlan Brown
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: