-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Affects Version/s: 10.3.0, 11.3.0, 12.0.0
-
Component/s: App Diagnositcs, JQL Search
-
None
-
10.03
-
2
-
Severity 3 - Minor
-
41
Issue Summary
Disabling the default-on JQL diagnostics monitor through com.atlassian.diagnostics.jql.monitor.disabled does not take effect immediately.
Steps to Reproduce
- Start Jira with the JQL diagnostics monitor enabled
- Trigger a slow JQL query so JiraMonitorConfiguration caches the monitor as enabled
- Enable the site dark feature com.atlassian.diagnostics.jql.monitor.disabled
- Trigger another slow JQL query without restarting Jira
Expected Results
The JQL diagnostics monitor is disabled immediately and no new JQL diagnostics alert is persisted.
Actual Results
The JQL diagnostics monitor remains enabled until its cache is reset, e.g. after Jira is restarted.
JiraMonitorConfiguration only resets its cached feature state when it receives an event for the base feature key:
com.atlassian.diagnostics.jql.monitor
It ignores the event raised when this default-on feature is disabled through:
com.atlassian.diagnostics.jql.monitor.disabled
Workaround
Enable both dark features in this order:
- com.atlassian.diagnostics.jql.monitor.disabled
- com.atlassian.diagnostics.jql.monitor
The first disables the monitor. The second does not re-enable it because the .disabled key takes precedence, but it raises an event for the base feature key and resets the cached monitor state.
A rolling restart also applies the disabled flag on each node.
- is related to
-
JRASERVER-79469 Atlassian Diagnostics plugin unnecessarily loads DETAILS_JSON CLOBs and can cause OutOfMemory error
-
- Closed
-
-
JRASERVER-79454 JQL functions with excessive clauses may cause unexpected database growth
-
- Closed
-
- is caused by
-
BIPD-1225 Loading...