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

   Reuse the effective node type within each node's imported property batch 
instead of resolving it for every property. This avoids repeatedly constructing 
the same type hierarchy and associated metadata.
   
   Discard the cached type after processing a protected property, since 
protected-importer callbacks may change the node's types. Reuse is limited to 
one property batch; no cross-call cache is introduced.
   
   ## Tests
   
   Added Oak fixture-backed tests using real sessions, registered node types, 
and persisted import results. They cover:
   - Reuse across ordinary properties and invalidation after a protected 
callback changes mixins.
   - Existing behavior for empty batches, ignored regular properties on 
protected nodes, and missing definitions.
   
   Mutation checks confirm the tests detect redundant resolution and missing 
invalidation


-- 
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