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

Attaching thousands of files to a single issue can lead to concurrency issues during project deletion.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Issue - Backend
    • None

      Issue Summary

      Currently, attaching thousands of files to a single issue can lead to concurrency issues during project deletion.

      Steps to Reproduce

      1. Attach thousands of files to a single issue
      2. Move the project to trash
      3. Try to permanently delete the project multiple times

      Expected Results

      Project deletion should be completed without any issues.

      Actual Results

      From the font-end it look like project is not being deleted from trash, but actually project deletion is intiated and it's taking more time to delete the project as it need remove all the attachment and project configurations.

      com.atlassian.jira.issue.managers.DefaultAttachmentManager#deleteAttachmentsByIssue(com.atlassian.jira.issue.Issue, java.util.List<com.atlassian.jira.issue.attachment.Attachment>, java.lang.Long) 

      Workaround

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

              Unassigned Unassigned
              f91199aa80c0 Dilip
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: