Wenzhe Zhou created IMPALA-12323:
------------------------------------
Summary: DDL hang with SYNC_DDL=1 when CatalogD HA enabled
Key: IMPALA-12323
URL: https://issues.apache.org/jira/browse/IMPALA-12323
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.3.0
Reporter: Wenzhe Zhou
Assignee: Wenzhe Zhou
Fix For: Impala 4.3.0
When CatalogD HA is enabled, standby catalogd does not receive catalog topic
update from statestore and does not apply catalog updates from the active
catalogd. Its min topic version is not changed.
Function Statestore::GetMinSubscriberTopicVersion() loops through all
subscribers including standby catalogd to find min topic version. Standby
catalogd causes min_subscriber_topic_version not increased, and hence Impala
server waits indefinitely in
ImpalaServer::WaitForCatalogUpdateTopicPropagation().
To fix the issue, skip standby catalogd when finding min topic version in
Statestore::GetMinSubscriberTopicVersion().
--
This message was sent by Atlassian Jira
(v8.20.10#820010)