Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1244

Always create new UUID on ImportBehavior.IMPORT_UUID_CREATE_NEW

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12
    • 0.14
    • jcr
    • None

    Description

      The implementation should create a new UUID for each referenceable node even if there is no existing node with that UUID. This spec says:

      Incoming nodes are assigned newly created identifiers upon addition to the workspace. As a result, identifier collisions never occur.

      This will break backward compatibility, but is IMO the correct behavior and the only way to guarantee import of referenceable nodes does not fail in a concurrent import scenario. See OAK-1186 for more details.

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: