Wenzhe Zhou has uploaded a new patch set (#4). ( http://gerrit.cloudera.org:8080/21086 )
Change subject: IMPALA-12849: Standby catalogd should reject requests from coordinators ...................................................................... IMPALA-12849: Standby catalogd should reject requests from coordinators In a catalog HA enabled cluster, it's possible that the standby catalogd could receive requests from coordinators in a short window after catalog fail-over is triggered since the coordinators may receive the fail-over notification from statestore with delayed time. In this scenarios, the standby catalogd should reject all requests from coordinators so that only one catalogd serving catalog service for the cluster. This patch checks if the catalog server is active when handling request from clients. Testing: - Added end-to-end unit-test. - Passed core tests. Change-Id: Iea38bdf4f207af657e71670a572efc7c0a0ba807 --- M be/src/catalog/catalog-server.cc M be/src/catalog/catalog-server.h M be/src/runtime/exec-env.cc M tests/custom_cluster/test_catalogd_ha.py 4 files changed, 58 insertions(+), 12 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/21086/4 -- To view, visit http://gerrit.cloudera.org:8080/21086 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iea38bdf4f207af657e71670a572efc7c0a0ba807 Gerrit-Change-Number: 21086 Gerrit-PatchSet: 4 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Zihao Ye <[email protected]>
