Log inSkip to main contentSkip to sidebar
Something went wrong, please try again.
Create and track feature requests for Atlassian products.
  • More
    DashboardsProjectsIssues
  • Give feedback to Atlassian
  • Help
    • Jira Core help
    • Keyboard Shortcuts
    • About Jira
    • Jira Credits
  • Log In
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.

Open issues

  • All issues
  • Open issues
  • Done issues
  • Viewed recently
  • Created recently
  • Resolved recently
  • Updated recently
View all issues and filters
Order by Priority
  1. Suggestion
    CONFSERVER-54140Improve performance when deleting comments or blog posts in spaces with many watchers
  2. Suggestion
    CONFSERVER-24448Display JIRA issue summaries in edit mode
  3. Suggestion
    CONFSERVER-44340API endpoint to trigger reindexing
  4. Suggestion
    CONFSERVER-35294Possibility to configure the content of notification emails
  5. Suggestion
    CONFSERVER-82546As a Confluence user I would like to have filter mechanisms in the Page Attachments
  6. Suggestion
    CONFSERVER-87786Requesting Smart links feature for Confluence Data Center
  7. Suggestion
    CONFSERVER-95895Add ability to sort items in the trash with the Deleted Date.
  8. Suggestion
    CONFSERVER-96122Display estimated read time and total number of views on top of Confluence page
  9. Suggestion
    CONFSERVER-99103Allow admin to chose the default Confluence theme
  10. Suggestion
    CONFSERVER-99870Options to increase the number of attachments from 20 displayed per page, in the "Page attachments" screen
  11. Suggestion
    CONFSERVER-29281Confluence http log analyzer
  12. Suggestion
    CONFSERVER-32837Make the Macro remigration job configurable
  13. Suggestion
    CONFSERVER-35921Administrators should be able to see and delete drafts from all users
  14. Suggestion
    CONFSERVER-41303Allow searching for content contributed or created by disabled user
  15. Suggestion
    CONFSERVER-81126Allow admins to (bulk) delete the profile pictures of the unsynced users
  16. Suggestion
    CONFSERVER-90174Atlassian Intelligence for Data Center
  17. Suggestion
    CONFSERVER-2085Ability to rename space key
  18. Suggestion
    CONFSERVER-7909Ability to allow users other than confluence-administrators to modify/add global templates
  19. Suggestion
    CONFSERVER-27077Option to display expand macro expanded/collapsed on page load
  20. Suggestion
    CONFSERVER-35218Macro: incoming links
  21. Suggestion
    CONFSERVER-36235Allow support of inline comments on Excerpt Include text.
  22. Suggestion
    CONFSERVER-40456As an admin, allow ability to synchronise Confluence instances or individual spaces
  23. Suggestion
    CONFSERVER-57857Provide the functionality to perform bulk delete for unsynced users
  24. Suggestion
    CONFSERVER-60397REST API to copy pages
  25. Suggestion
    CONFSERVER-98153Password aging, expiry, and rotation for improved password management
  26. Suggestion
    CONFSERVER-99876Page Properties Report Macro Performance
  27. Suggestion
    CONFSERVER-54249Database Migration Wizard for Confluence
  28. Suggestion
    CONFSERVER-52068More color options in Team Calendar
  29. Suggestion
    CONFSERVER-60263Ability to have the Websudo functionality working with SAML / SSO
  30. Suggestion
    CONFSERVER-99862Display password policy banner when user attempts to change password using an incorrect format
  31. Suggestion
    CONFSERVER-60196Options to increase the number of document displayed by the "Space attachments" macro per page
  32. Suggestion
    CONFSERVER-5884Page history should have "annotated" view
  33. Suggestion
    CONFSERVER-9159Enable changing groupnames
  34. Suggestion
    CONFSERVER-15619Ability to adjust ranking of search results is required
  35. Suggestion
    CONFSERVER-22879Reduce errors logged when shutting down Confluence
  36. Suggestion
    CONFSERVER-26979As a Confluence administrator, I'd like to be able to bulk update Confluence pages
  37. Suggestion
    CONFSERVER-36103Allows display sizes options for Roadmap Planner macro
  38. Suggestion
    CONFSERVER-38965As an admin, provide the ability to move multiple pages
  39. Suggestion
    CONFSERVER-49206Delete History / Audit Logs for Team Calendars
  40. Suggestion
    CONFSERVER-55958Confluence - Link Report/Link Validator
  41. Suggestion
    CONFSERVER-60578Make JIT Group Attribute Sync optional and add Default Group Membership
  42. Suggestion
    CONFSERVER-83249Confluence whiteboards available for DC/on-prem solutions
  43. Suggestion
    CONFSERVER-87545Ability to disable Personal Access Token at the user level.
  44. Suggestion
    CONFSERVER-31358Expand page order alphabetical sort to allow reverse sort
  45. Suggestion
    CONFSERVER-34576Include excerpt macro should be possible to select an excerpt from the page
  46. Suggestion
    CONFSERVER-35826Enhancement: macro to display single JIRA field in Confluence page
  47. Suggestion
    CONFSERVER-36882JIRA Issues Macro - Columns to Display sort reorder Drag & Drop
  48. Suggestion
    CONFSERVER-45012Vertical text in table headers
  49. Suggestion
    CONFSERVER-58221As a user I want to request access to a restricted Space
  50. Suggestion
    CONFSERVER-59999As an Admin I'd like to be able to move move a Space Template to the Global Template list
Refresh results
1 2 3 4 5Next >>
1 of 6210
Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-54140

Improve performance when deleting comments or blog posts in spaces with many watchers

Log In
Not Being Considered
Export
undefinedView workflow
XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Core - Email
      • bugfix
      • performance
    • 1
    • 7
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Summary

      Deleting a comment from a page with many watchers, or many space watchers (100+) is slow and can take more than 60 seconds.

      Environment

      • Confluence 6.4.3

      Steps to Reproduce

      1. Set up Confluence 6.4.3 (or latest)
      2. Use the Atlassian Populator to create 1000 users, 100 at a time.
      3. Go to Confluence and create a Space and watch that Space.
      4. Go to the database, and get the spaceid of the Space you're working with, e.g.
        select spaceid from spaces where spacekey = 'BUG';
        

        Let's say it's 12345

      5. Update the notifications table so all the users watch the sample Space
        insert into notifications (notificationid, spaceid, username, creator, creationdate, lastmodifier, lastmoddate, digest, network) (select floor(random()*1000000), 12345, user_key, user_key, current_timestamp, user_key, current_timestamp, false, false from user_mapping);
        

        You may have to run this several times before you get 1000 unique random numbers. (If you know a better way to grab an id, please share.)

      6. Go to General Configuration > Cache Management, scroll down and click Flush all
      7. Create a page, add a comment (this is pretty quick)
      8. Delete the comment (this is pretty slow)

      Expected Results

      The comment is deleted quickly

      Actual Results

      The below exception is thrown in the atlassian-confluence.log file:

      2017-11-02 18:28:01,560 WARN [http-nio-8090-exec-6] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.comment.CommentRemoveEvent[source=com.atlassian.confluence.pages.DefaultCommentManager@149e17af] took 33451 ms (warning threshold is 5000 ms)
       -- url: /pages/removecomment.action | page: 2228571 | traceId: 71638ddfefef7f55 | userName: admin | referer: http://confluence.mycompany.com:8090/display/BUG/CONFSERVER-54140 | action: removecomment
      

      and catalina.out will also have similar warnings like this

      25-Oct-2017 00:27:55.595 WARNING [ContainerBackgroundProcessor[StandardEngine[Standalone]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread "http-nio-8150-exec-50" (id=263) has been active for 61,319 milliseconds (since 10/25/17 12:26 AM) to serve the same request for https://confluence.mycompany.com/pages/removecomment.action?commentId=133300287&pageId=120587236&atl_token=71472d2d5b654afc06a736af45a98f718cd3aa50&confirm=yes and may be stuck (configured threshold for this StuckThreadDetectionValve is 60 seconds). There is/are 1 thread(s) in total that are monitored by this Valve and may be stuck.
       java.lang.Throwable
      

      Notes

      The slow code is going through a synchronous call to send the notifications. Thread dumps show most of the time is spent in

      at com.atlassian.confluence.mail.notification.listeners.CommentNotificationsListener.handleCommentRemove(CommentNotificationsListener.java:71)
      

      Workaround

      There is no workaround.

        mentioned in

        Page Loading...

            Form Name

              • All
              • Comments
              • Work Log
              • History
              • Activity
              Jiri Hronik made changes - 8 hours ago
              Link New: This issue relates to CONFSERVER-99860 [ CONFSERVER-99860 ]
              SET Analytics Bot made changes - 2 days ago
              Support reference count Original: 6 New: 7
              SET Analytics Bot made changes - 21/Apr/2025 4:16 AM
              Support reference count Original: 2 New: 6
              SET Analytics Bot made changes - 17/Jun/2024 2:02 AM
              UIS Original: 0 New: 1
              SET Analytics Bot made changes - 06/Jun/2024 2:04 AM
              UIS Original: 1 New: 0
              SET Analytics Bot made changes - 05/Apr/2024 2:10 AM
              UIS Original: 0 New: 1
              SET Analytics Bot made changes - 04/Apr/2024 2:11 AM
              UIS Original: 1 New: 0
              Sen Geronimo made changes - 31/Jan/2023 2:49 AM
              Workflow Original: JAC Suggestion Workflow 4 [ 3566222 ] New: JAC Suggestion Workflow 3 [ 4338019 ]
              SET Analytics Bot made changes - 05/Jan/2022 2:31 AM
              UIS Original: 3 New: 1
              SET Analytics Bot made changes - 22/Dec/2021 2:14 AM
              UIS Original: 1 New: 3

                Unassigned Unassigned
                jrichards@atlassian.com James Richards
                Votes:
                5 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Created:
                  05/Nov/2017 11:25 PM
                  Updated:
                  8 hours ago
                  • Atlassian Jira Project Management Software
                  • About Jira
                  • Report a problem
                  • Privacy policy
                  • Notice at Collection

                  Atlassian