-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10, 2021
-
Fix Version/s: None
-
Component/s: Audit
-
Tags:
-
Backlog priority:750
-
Sprint:nxplatform next
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.