You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "apurtell (via GitHub)" <gi...@apache.org> on 2026/10/09 06:39:09 UTC

[PR] PHOENIX-8017 Writes fail on a table with a local index and a CDC index [phoenix]

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 <no...@anthropic.com>


-- 
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: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org