difin commented on PR #5652:
URL: https://github.com/apache/hive/pull/5652#issuecomment-2758752875

   > why do we use "leader" as the name for `endpoint`? should it be 
`ha-healthcheck` / `health-ha`?
   
   I did it this way to make it clear that we use leader resource for health 
checking, because it returns true when the instance is a leader and false 
otherwise.
   
   If we rename it to `ha-healthcheck / health-ha` and someone calls it and it 
returns false, won't they mistakenly conclude that the health status is false?


-- 
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: gitbox-unsubscr...@hive.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to