Wenzhe Zhou has uploaded a new patch set (#2). ( 
http://gerrit.cloudera.org:8080/16421 )

Change subject: IMPALA-10140: Fix CatalogExeception for creating database with 
sync_ddl as true
......................................................................

IMPALA-10140: Fix CatalogExeception for creating database with sync_ddl as true

IMPALA-7961 handle the cases for query "creating table if not exists"
with sync_ddl as true. Customers report similar issue which happened
for query "create database if not exists" with sync_ddl as true.
To fix the issue, add the similar fixing as the fixing for IMPALA-7961
to CatalogOpExecutor.createDatabase() function.

Testing:
 - Manual tests
   Since this is a racy bug, I could only reproduce it by forcing
   frequent topic update log GCs along with a specific sequence of
   actions: run some DDLs and REFRESHs to trigger a GC in topic update
   log, then run "create database if not exists" with sync_ddl as true.
   Verified that the issue couldn't be reproduced with this patch.
 - Passed exhaustive test.

Change-Id: Id623118f8938f416414c45d93404fb70d036a9df
---
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
1 file changed, 27 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/21/16421/2
--
To view, visit http://gerrit.cloudera.org:8080/16421
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id623118f8938f416414c45d93404fb70d036a9df
Gerrit-Change-Number: 16421
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>

Reply via email to