NOTE: This bug is caused by using Space Backup & Restore functionality. For the duplicated labels caused by concurrency, please use  CONFSERVER-5254 to address

      Space restore may create duplicated labels.

      Issue Summary

      This is reproducible on Data Center:  YES

      Steps to Reproduce

      1. For a user, click `Save For Later` on pages from two spaces, say, Space A & Space B
      2. Create a backup of Space A
      3. Delete Space A
      4. Restore Space A from backup
      5. Check the database `LABEL` table, you will find: duplicated label with name: `favourite`, namespace: `my`, owner: user key

      Expected Results

      This is only one unique label record with name & namespace & owner

      Actual Results

      The below exception is thrown in the xxxxxxx.log file:

      two duplicated labels with name: `favourite`, namespace: `my`, owner: user key 

      Workaround

      no workaround currently

            [CONFSERVER-96406] Space Restore may create duplicated labels

            A fix for this issue is available in Confluence Data Center 9.1.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jordan Anslow added a comment - A fix for this issue is available in Confluence Data Center 9.1.0. Upgrade now or check out the Release Notes to see what other issues are resolved.

              5339cdd01cf4 Jeffery Xie
              5339cdd01cf4 Jeffery Xie
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: