Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-79100

Some async webhooks do not use request cache in Jira Data Center

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 10.3.11, 11.0.2, 11.1.1, 11.2.0
    • 9.0.0, 9.4.0, 9.12.0, 10.0.0, 10.3.0, 10.3.3, 10.3.5, 10.3.10, 10.6.0, 11.1.0, 11.0.1
    • Webhooks
    • None

      Issue Summary

      Asynchronous webhooks were using Jira’s request cache outside of the appropriate context. This caused the webhook executor to generate the JSON payload without access to some caches.

      This problem was detailed in JRASERVER-78768, but the fix for the problem was incomplete. As a result, even on Jira versions with that fix, webhooks triggered by worklog operations, issue linking, some administrative actions were still not using cache.

      Steps to Reproduce

      1. Configure one or more [worklog event] webhooks, including the JSON payload.
      2. Induce a high-load (100+ updates/seconds) of matching events.

      Expected Results

      The webhook executor can process each webhook and build its payload body in a reasonable amount of time. Database pressure is reasonable.

      Actual Results

      Call stacks that should otherwise quickly return with cached values are delayed.

      Workaround

      Jira 9

      1. Increase webhook executor thread pool and queue sizes, as described on JRASERVER-74492.
      2. Switch back to synchronous webhooks.

      Jira 10

      Increase webhook executor thread pool and queue sizes, as described on Tuning webhook performance parameters in Jira Data Center.

              drauf Daniel Rauf
              drauf Daniel Rauf
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: