joerghoh opened a new pull request, #3251:
URL: https://github.com/apache/jackrabbit-oak/pull/3251

   Avoid redundant work in property write preconditions:
   
   * Use the parent delegate directly for checkout checks in 
``Property.setValue()`` and ``Property.remove()``, avoiding JCR wrapper 
creation and its primary-type lookup.
   * Reuse the property resolved during preconditions when executing 
``Node.setProperty()``
   
   This reduces per-call overhead.
   
   ## Tests
   
   Added Oak fixture-backed tests that detect the redundant lookups and verify 
persisted results. Additional tests explicitly cover existing behavior: nested 
operations, absent-property removal, stale-item rejection, inherited checkout 
restrictions, and OPV IGNORE exceptions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to