apurtell opened a new pull request, #2634:
URL: https://github.com/apache/phoenix/pull/2634

   A write to a data table fails when the table has both a LOCAL index and a 
CDC index. The region server rejects the batch with an 
IndexBuildingFailureException.
   
   handleLocalIndexUpdates restricts the metadata passed to the index builder, 
aligning with how the observer classifies maintainers elsewhere. If a batch 
contains only local indexes, the original metadata is reused as-is to avoid 
overhead and preserve existing behavior.
   
   Eliminating non-local maintainers stops the local path from building and 
immediately discarding global updates, allowing the prior row scan to fetch 
only the columns required by local indexes.
   
   Co-Authored-By: Claude Opus 5.5 <[email protected]>


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