Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1266 DocumentStore implementation for relational databases
  3. OAK-3892

RDBDocumentStore: StripedNodeDocumentLocks - special case root?

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.27, 1.2.11, 1.3.14
    • 1.0.28, 1.2.12, 1.3.15, 1.4
    • rdbmk
    • None

    Description

      StripedNodeDocumentLocks currently handles all document IDs the same way.

      I assume that we see a lot of updates on 0:/, though. These updates would be blocked if another different ID fell into the same lock stripe (and was being updated).

      We currently have 4096, so the likelihood isn't that big; on the other hand, a change doesn't seem to be risky.

      Attachments

        1. stripes.diff
          0.8 kB
          Julian Reschke

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: