Grant Henke created IMPALA-10197:
------------------------------------

             Summary: Add KUDU_REPLICA_SELECTION config and query option
                 Key: IMPALA-10197
                 URL: https://issues.apache.org/jira/browse/IMPALA-10197
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
    Affects Versions: Impala 4.0
            Reporter: Grant Henke


Sometimes it is useful to target queries at the LEADER_ONLY instead of the 
default CLOSEST_REPLICA. We should expose this option in Impala similar to the 
way KUDU_READ_MODE is exposed:
https://impala.apache.org/docs/build/html/topics/impala_kudu_read_mode.html

Currently there is a test only flag, FLAGS_pick_only_leaders_for_tests, that 
somewhat does this:
https://github.com/apache/impala/blob/da2999afd9ddc45d35141649d17db507e03ee9bf/be/src/exec/kudu-scanner.cc#L195-L198




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to