Bikramjeet Vig created IMPALA-10866:
---------------------------------------

             Summary: Ensure consistency between failure detection and 
registration/Ack of a coordinator by the admission service
                 Key: IMPALA-10866
                 URL: https://issues.apache.org/jira/browse/IMPALA-10866
             Project: IMPALA
          Issue Type: Sub-task
    Affects Versions: Impala 4.0.0
            Reporter: Bikramjeet Vig
            Assignee: Bikramjeet Vig


Ensure consistency between failure detection and registration/Ack of a 
coordinator by the admission service.
 Currently admission service utilizes the statestore membership updates to 
detect a coordinator going down but it still services RPCs from that 
coordinator if it is still up and able to contact the admission service.
 Using the current mechanisms of statestore updates(IMPALA-10594), admission 
heartbeats(IMPALA-10590, IMPALA-10720) and coordinator 
registration(IMPALA-9976) ensure that consistency is maintained between these 
mechanism.
 A possible implementation is:
 - Use statestore as the only source of truth.
 ** Consistency: Only allow a coord to register if it is registered with the 
statestore
 ** Atomicity: If the statestore update signals that a coord is down, remove 
all its state (running and queued queries) before you allow it to register again



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

Reply via email to