Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16421
Change subject: WIP IMPALA-10140: Fix CatalogExeception for creating database with sync_ddl as true ...................................................................... WIP IMPALA-10140: Fix CatalogExeception for creating database with sync_ddl as true IMPALA-7961 handle the cases for "creating table if not exist" and sync_ddl as true. In ENGESC-3589, customer report similar issue which happened for "create database if database not exist" and sync_ddl as true. To fix the issue, add the similar fixing as the fixing for IMPALA-7961 to CatalogOpExecutor.createDatabase() function. Testing: - TODO 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. Couldn't reproduce it with the 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/1 -- 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: newchange Gerrit-Change-Id: Id623118f8938f416414c45d93404fb70d036a9df Gerrit-Change-Number: 16421 Gerrit-PatchSet: 1 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]>
