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

   Currently, `switchLane` returns early whenever `async-previous` is set, 
assuming the lane has already been switched. However, `async-previous` can 
legitimately appear in user-provided index definitions (e.g. copied from a 
running system), causing the switch to be skipped incorrectly and the index to 
be silently dropped from reindexing.
   
   The fix tightens the early-return check: only skip if `async-previous` is 
present and `async` already equals the target lane. If `async-previous` is 
present but `async` does not match the target lane, the property is treated as 
stale, discarded, and the switch proceeds normally.


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