Lokesh Khurana created PHOENIX-7910:
---------------------------------------

             Summary: Defense-in-depth check for legacy Indexer coprocessor
                 Key: PHOENIX-7910
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7910
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Lokesh Khurana


Tables with the legacy {{Indexer}} coprocessor (instead of 
{{{}IndexRegionObserver{}}}) silently lose all writes during a transform window 
— IRO never runs, {{TransformMaintainer}} never attaches, dual-write to NEW 
physical never happens. The transform appears to succeed but post-cutover NEW 
is missing every write that landed during the transform.

Worst-case failure mode: silent data loss with no logs/errors.

 

*Decision:* Defense-in-depth check at {{TransformClient.checkIsTransformNeeded 
}}and {{{}TransformTool.populateTransformToolAttributesAndValidate{}}}. Read 
HBase

{{{}TableDescriptor{}}}, walk coprocessors, throw {{SQLException}} if legacy 
{{Indexer }}present and {{IndexRegionObserver}} absent.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to