Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
5.8.4, 6.0.0-OD-2015.50.1-0003
-
2
-
Severity 2 - Major
-
0
-
Description
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Retrieving inline comment replies (/rest/inlinecomments/1.0/comments/<comment_id>/replies) is an operation that requires two database connections.
If a page has a sizable number of resolved inline comments (20 in my test), that each have a number of comments (5 in my test), and the user opens up the "resolved comments" display for the page, the browser will launch off an individual request for every comment. This flood of requests can cause DBCP exhaustion due to requiring 2 DB connections.
Steps to reproduce
- Create a new page
- Add 20 inline comments to it
- Add 5 replies to each inline comment
- Resolve all inline comments
- Refresh the page to ensure browser doesn't have anything stored locally
- Click the "Resolved comments" menu item from the "..."
Expected behaviour
- A single request is launched to retrieve the information
- The information is displayed
Actual behaviour
- Partial information is displayed (and may even look accurate, but it's incomplete)
- Confluence locks up until the DBCP requests time out
Attachments
Issue Links
- relates to
-
CONFCLOUD-40249 Listing resolved inline comments does not batch the request, leading to DBCP exhaustion
- Closed