Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1796

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

XMLWordPrintable

    • 2019 Week 05-07
    • 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.
    • NEW
    • NEW

      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

            aparedes@redhat.com Adriel Paredes
            abakos@redhat.com Alexandre Bakos
            Jan Hrcek Jan Hrcek (Inactive)
            Jan Hrcek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: