Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1455

All assets are indexed 4 times when project is created via UI

    XMLWordPrintable

Details

    • CR2
    • CR1
    • Hide

      Start kie-wb
      Go to projects
      Create new project via UI
      look at server.log / console output. You'll see the same messages about indexing 4 times.

      Show
      Start kie-wb Go to projects Create new project via UI look at server.log / console output. You'll see the same messages about indexing 4 times.
    • 2019 Week 05-07

    Description

      When you create new project in UI or import one of the sample project (Evaluation), it is indexed multiple times. The following is shown in the server.log:

      14:49:41,593 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-175) Scheduling 21 indexing jobs for cluster [KClusterImpl [clusterId=MySpace/projectA]].
      14:49:41,688 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-176) Scheduling 21 indexing jobs for cluster [KClusterImpl [clusterId=MySpace/projectA]].
      14:49:42,623 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-177) Scheduling 21 indexing jobs for cluster [KClusterImpl [clusterId=MySpace/projectA]].
      14:49:42,711 INFO  [org.uberfire.ext.metadata.io.IndexerDispatcher] (Thread-176) Scheduling 21 indexing jobs for cluster [KClusterImpl [clusterId=MySpace/projectA]].
      

      This looks redundant and makes the operations very slow when running the workbench in the cloud, where file IO is slower.

      When you create project via REST api, the indexing of all projects assets appears "only" 2 times, which is not that bad, but still redundant

      Attachments

        Issue Links

          Activity

            People

              aparedes@redhat.com Adriel Paredes
              jhrcek Jan Hrcek (Inactive)
              Tomas David Tomas David
              Tomas David Tomas David
              Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: