-
Bug
-
Resolution: Fixed
-
Highest
-
5.7, 5.8.9, 5.8.10, 6.1.2, 6.1.3, 6.2.3, 6.3.1, 6.4.2, 6.6.1, 6.12.0, 7.1.0, 7.2.2, 7.3.4
-
50
-
Severity 2 - Major
-
158
-
-
Summary
Page Property Report Macros only fetches a limited number of pages.
Environment
Experienced in 6.3.1 while issues reported from previous versions listed in the "Affected Version"
Steps to Reproduce
How to reproduce method #1: Use the sample Space Export
Get this XML space export 900pagesPPRmacro.zip which is a space that contains 900 pages containing Page Property macro with the labels "discussion"
- Load the page with the title "PP Report Macro with Number of items to display = 100" from the xml export
- Load the page with the title "PP Report Macro with Number of items to display = 10000" from the xml export
How to reproduce method #2: create own space with 900 pages containing page-properties (any number more than 500):
- create a space with more than 500 (eg: 900) pages containing page-properties.
- create a page containing the page-properties-report macro and set the "number of objects to be shown" to 100 and 10000
<p> <ac:structured-macro ac:macro-id="08027386-e7e9-4d92-8ad6-5168aa775020" ac:name="detailssummary" ac:schema-version="2"> <ac:parameter ac:name="pageSize">100</ac:parameter> <ac:parameter ac:name="analytics-key">requirements</ac:parameter> <ac:parameter ac:name="cql">label = "product" and space = currentSpace()</ac:parameter> </ac:structured-macro> </p>
Expected Results
- all 900 pages should be listed and the page should have 9 tabs appeared (100 result for every tab)
- all 900 pages should be displayed
Actual Results
- only 5 tabs are listed in this page (100 pages on every tab = only displaying 500 pages)
- only 500 pages are listed
- Results may vary from 500-550
The following appears in atlassian-confluence.log:
2017-07-16 16:59:58,699 WARN [pool-12-thread-2] [atlassian.confluence.event.MonitorableCallerRunsPolicy] rejectedExecution Queue Overflow happened: Runnable: [Invoker: com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1$1@16fe75dc; Event: com.atlassian.confluence.impl.content.render.xhtml.analytics.MarshallerMetricsAnalyticsEvent@bcfc4d6]; Executor: [java.util.concurrent.ThreadPoolExecutor@3569abb7[Running, pool size = 2, active threads = 2, queued tasks = 256, completed tasks = 30473]] -- url: /rest/masterdetail/1.0/detailssummary/lines | referer: http://localhost:8613/display/PPM/PP+Report+Macro+with+Number+of+items+to+display+%3D+10000 | traceId: 723d28b96b998853 | userName: admin
- Increasing http threads and database connection threads does not make any difference
- Disabling Analytics does not make any difference and the logs above still appears
- Increasing Page Property Report Caching does not make any difference
Notes
The issue is specifically caused by an issue in "fetching" the complete result. This is because when we change the Page Property Report macro configuration as "Reverse Sort" (and the pages are sorted based on modified date), the oldest pages now appears in the list while the recently created pages disappeared.
- causes
-
CONFSERVER-55028 Improve "rejectedExecution Queue Overflow" logging
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...