Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10313

Change RULES and ISSUES index definition to minimize impact of rule key renaming

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: ElasticSearch, Issues, Rules
    • Labels:
      None

      Description

      Indexes RULES and ISSUES should be modified to:

      • allow re-indexing of rules even though the rule's key has changed
        • Rules indexes must be based on rule id instead of rule key
      • reduce the amount of documents to updated when key is renamed
        • issues index must be based on rule id only and not store the rule key or repository

        Attachments

          Activity

            People

            Assignee:
            sebastien.lesaint Sebastien Lesaint
            Reporter:
            sebastien.lesaint Sebastien Lesaint
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: