Yida Wu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23204


Change subject: IMPALA-14234: Fix a version mismatch DCHECK hit when admissiond 
cluster membership recovering
......................................................................

IMPALA-14234: Fix a version mismatch DCHECK hit when admissiond cluster 
membership recovering

This patch fixes a DCHECK failure caused by a version mismatch when
the admissiond cluster membership is recovering after a statestore
restart. During recovery, the new cluster membership version could
be lower than the version associated with a queued query, violating
the DCHECK condition.

To address this, the patch sets the current version to the recovering
new cluster membership, ensuring it is not lower than any version
stored in queued queries.

Tests:
Added a regression test in
test_dcheck_issue_coord_statestore_kill_order.

Change-Id: Iea77347bd4775abd7866817146e326c7c5042f5e
---
M be/src/scheduling/cluster-membership-mgr.cc
M tests/custom_cluster/test_admission_controller.py
2 files changed, 86 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/04/23204/1
--
To view, visit http://gerrit.cloudera.org:8080/23204
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iea77347bd4775abd7866817146e326c7c5042f5e
Gerrit-Change-Number: 23204
Gerrit-PatchSet: 1
Gerrit-Owner: Yida Wu <[email protected]>

Reply via email to