-
Bug
-
Resolution: Fixed
-
Low
-
7.6.7, 7.13.18, 8.5.11
-
7.06
-
23
-
Severity 3 - Minor
-
3
-
Symptoms
When the audit_log grows very large (24 million+ rows in my testing) searching the audit log (System -> Troubleshooting and Support -> Audit Log) for specific text or date ranges will fail with a message stating "There was an error loading data".
Steps to Reproduce
Generate 24 million rows of audit log data, e.g.:
INSERT INTO audit_log (id, remote_address, created, author_key, summary, category, object_type, object_id, object_name, object_parent_id, object_parent_name, author_type, event_source_name, description, long_description, search_field) SELECT x.id, '10.0.0.1', '2017-01-01 07:35:11', '', 'Group created', 'group management', 'GROUP', '', 'jira-software-users', '1', 'JIRA Internal Directory', 0, '', '', '', '10.0.0.1 group created management jira-software-users jira internal directory' || x.id FROM generate_series(200000,24200000) AS x(id);
Then attempt to search for a date range or a specific string.
Additional Detail
The audit log table can rapidly grow quite large due to . While that issue is now corrected the past audit log entries are already present in the table.JRASERVER-39094
Workaround
Problem is mitigated with auditing improvements made in Jira 8.8
- Truncate the audit_log table to fewer than 24 million rows.
- See other workarounds in JRASERVER-67985
- relates to
-
JRASERVER-67985 Audit log filter results in "There was an error loading data" error message
- Under Consideration
- mentioned in
-
Page Loading...