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

nuxeo-audit-page-provider pulls too much data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10, 2021
    • Fix Version/s: None
    • Component/s: Audit

      Description

      Any time the nuxeo-audit-page-provider is used, a request is sent to the Audit.QueryWithPageProvider operation with 

      {"params":{"providerName":"EVENTS_VIEW","namedQueryParams":{},"currentPageIndex":0,"pageSize":40},"context":{}}

      If the audit index is big big (like 600 million records) it can take several seconds for this to complete.

      Ideally the element would only query Nuxeo for data needing to be displayed – if document data is displayed, only query for document data (with appropriate constraint) – if other audit data like login/logout is displayed, query for that with an appropriate predicate so that the result count is sized appropriately.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: