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

Issue DELETEs not replicated across cluster indexes

    XMLWordPrintable

Details

    • 8.12
    • 5
    • Severity 2 - Major
    • 3
    • Hide
      Atlassian Update – 30 April 2024

      Dear Customers,

      we are pleased to announce that this bug has been backported to JIRA 9.12.9 LTS version - with a planned release date in June 2024.

      Best regards

      Daria Misiowiec

      Software Engineer, Jira DC

      Show
      Atlassian Update – 30 April 2024 Dear Customers, we are pleased to announce that this bug has been backported to JIRA 9.12.9 LTS version - with a planned release date in June 2024. Best regards Daria Misiowiec Software Engineer, Jira DC

    Description

      Issue Summary

      This is reproducible on Data Center: yes

      Since Jira 8.12 all entities (including issues) are versioned, i.e. each indexing operation on an entity has a unique version which is used to resolve conflicts and have a consistent state of data across all nodes and the DB.

      Is it possible to have a DELETE issue indexing operation (with version X) followed by a reindex (UPDATE, UPDATE_WITH_RELATED) of an issue where an issue document may be created with the same version as the DELETE operation. This may cause in some situation the reindex (of a deleted issues) to win with the de-index operation.

      Steps to Reproduce

      1. In a cluster with 4 nodes create an issue with 1000 subtask
      2. Just after creation delete the issue

      Expected Results

      The issue and all sub-tasks should be removed from the DB and all indexes (across all nodes).

      Actual Results

      Some sub-tasks may still be present on some indexes.

      Workaround

      Only full-reindex can fix indexes across the cluster.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mswinarski Maciej Swinarski (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: