Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20490 )
Change subject: IMPALA-12448: Avoid getting stuck when refreshing a non-existent partition ...................................................................... IMPALA-12448: Avoid getting stuck when refreshing a non-existent partition In some cases, we shouldn't wait for the catalog version of 'result' because the table version has not changed after resetting metadata, such as refreshing a non-existent partition. If not, the query may be stuck for a long time. If the catalog version of 'result' is less than or equal to 'oldestTopicUpdateToGc_', return the catalog version of 'result' directly. Tests: * added e2e tests Change-Id: Iace7cdadda300b03896f92415822266354421887 Reviewed-on: http://gerrit.cloudera.org:8080/20490 Reviewed-by: Quanlong Huang <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/catalog/catalog-server.cc M be/src/util/backend-gflag-util.cc M common/thrift/BackendGflags.thrift M fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java M fe/src/main/java/org/apache/impala/catalog/TopicUpdateLog.java A tests/custom_cluster/test_refresh_invalid_partition.py 6 files changed, 133 insertions(+), 24 deletions(-) Approvals: Quanlong Huang: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/20490 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Iace7cdadda300b03896f92415822266354421887 Gerrit-Change-Number: 20490 Gerrit-PatchSet: 31 Gerrit-Owner: ttttttz <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: ttttttz <[email protected]>
