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

Internal code calls LockManager.isLocked(String)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.46.0, 1.22.17
    • jcr
    • None

    Description

      similar to OAK-9966 for Node.isLocked which calls LockManager.isLocked(String absPath). This results in the Tree object to be resolved again from the absolute path, when it was already there for the Node object.

      the same applies for

      • version operations that check for the node being locked
      • import operation that checks for the target node being locked.

      NOTE: this pattern applies for all other lock related methods. but since JCR locking is not properly implemented, i suggest to focus on the Node.isLocked and LockManager.isLocked methods, which are called frequently in code that is just performing regular writes.

      cc: joerghoh

      Attachments

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: