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

unique id generator

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      It would be great to have a way to safely generate unique id's for node names, with oak configured in a cluster configuration.

      This is useful for creating unique slug names for documents, and ensuring unique names for node siblings, or node names repository wide.

      It could be implemented as a sequence generator, or similar to how mongodb generates object ids; https://docs.mongodb.org/manual/reference/object-id/.

      With the older jackrabbit implementation it is possible to have a sequence guaranteed to provide unique id's, using enforceable locks. With oak theres no such guarantee when used in a clustered configuration.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              torgeir@pobox.com Torgeir Veimo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: