Wenzhe Zhou has uploaded this change for review. ( 
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 manual
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 patchs 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, 59 insertions(+), 12 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/21086/1
--
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: newchange
Gerrit-Change-Id: Iea38bdf4f207af657e71670a572efc7c0a0ba807
Gerrit-Change-Number: 21086
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ara...@cloudera.com>

Reply via email to