Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-75750

Race condition on mail handler causes messages to be processed intermittently

XMLWordPrintable

      Issue Summary

      When we have two mail handlers that can process messages from the same project a race condition messages to be processed intermittently.

      Steps to Reproduce

      1. Create 2 Mail Handlers using the same mail server (can use the default one on Jira)
        1. The first handler will be used by a specific project to create issues;
        2. The second handler will be used for all projects to only process comments. We won't specify projects here
      2. Send a couple of messages to Jira.
      3. The messages will be processed intermittently;
      4. Remove the comments mail handler;
      5. All messages will be processed correctly.

      Expected Results

      The mail handlers will be able to determine which one to use based on the action the user is performing. If there are no issues to add a comment into, Jira will be able to create the ticket in the destination project. If an issue exists, Jira will be able to place the comment correctly.

      Actual Results

      Jira will intermittently fail depending on which handler will effectively process the message.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Unassigned Unassigned
              cfraga Caio (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: