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

Business central with lot of process instances, blocks getting query filters

    XMLWordPrintable

Details

    • False
    • False
    • ER1
    • ?
    • Hide

      A database with lot of entries (in process instances or task) probably can reproduce later error, but just going forward/backward query with unexpected pageSize=-1 is shown enabling org,kie DEBUG:

      tail -f ../standalone/log/server.log | grep pageSize

      Show
      A database with lot of entries (in process instances or task) probably can reproduce later error, but just going forward/backward query with unexpected pageSize=-1 is shown enabling org,kie DEBUG: tail -f ../standalone/log/server.log | grep pageSize
    • 2022 Week 11-13 (from Mar 14)

    Description

      In any list from business central with more than 10 results (to enable forward/backward).

      pageSize is filled with -1 (to get filters for query) causing kie server to process all rows for that query.

      That causes or kie server to freeze, or business central to throw an error due to max call stack size (when kie server is able to deal with the query and return a result)

      2022-02-16 10:54:34,126 DEBUG [org.kie.server.client.impl.AbstractKieServicesClientImpl] (default task-3) About to send POST request to 'http://localhost:8080/kie-server/services/rest/server/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=2&pageSize=10' with payload '<org.kie.server.api.model.definition.QueryFilterSpec>
      2022-02-16 10:54:34,164 DEBUG [org.kie.server.client.impl.AbstractKieServicesClientImpl] (default task-3) About to send POST request to 'http://localhost:8080/kie-server/services/rest/server/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=0&pageSize=-1' with payload '<org.kie.server.api.model.definition.QueryFilterSpec>
      2022-02-16 10:54:34,171 DEBUG [org.kie.server.client.impl.AbstractKieServicesClientImpl] (default task-3) About to send POST request to 'http://localhost:8080/kie-server/services/rest/server/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=0&pageSize=-1' with payload '<org.kie.server.api.model.definition.QueryFilterSpec>
      2022-02-16 10:54:34,177 DEBUG [org.kie.server.client.impl.AbstractKieServicesClientImpl] (default task-3) About to send POST request to 'http://localhost:8080/kie-server/services/rest/server/queries/definitions/jbpmProcessInstances/filtered-data?mapper=RawList&page=0&pageSize=-1' with payload '<org.kie.server.api.model.definition.QueryFilterSpec>
      
      

      There was a modification to collect this filters, that probably needs be dimissed by config, as many customers never use that "advanced filters"

      Attachments

        Issue Links

          Activity

            People

              xiabai@redhat.com Xiaofeng Bai
              afanjula@redhat.com Alberto Fanjul Alonso
              Kennedy Bowers Kennedy Bowers (Inactive)
              Kennedy Bowers Kennedy Bowers (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: