Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/17253 )

Change subject: IMPALA-6671: Change wait for sync ddl timeout
......................................................................


Patch Set 5: Code-Review+2

(3 comments)

http://gerrit.cloudera.org:8080/#/c/17253/4/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java
File fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java:

http://gerrit.cloudera.org:8080/#/c/17253/4/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java@3094
PS4, Line 3094:     long maxNumAttempts = 5;
> "Now when skipping locked table is enabled, more rounds of topic updates co
Ah, I see. Just realized the numSkippedUpdatesLockContention_ of a table entry 
only increases when the table's LastVersionSeenByTopicUpdate changes. Then we 
really can't estimate how many times the topic update thread would skip a 
locked table version.

Thanks for the explanation!


http://gerrit.cloudera.org:8080/#/c/17253/4/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java@3160
PS4, Line 3160: It checks
> nit: remove this?
remove this?


http://gerrit.cloudera.org:8080/#/c/17253/4/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java@3168
PS4, Line 3168: timeoutSecs == 0
> I think we should return false for negative values as well.
Some users may set this to -1 thinking -1 means disabling it. So I think 
negative values should be taken care as well.



--
To view, visit http://gerrit.cloudera.org:8080/17253
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I79e64cdec0e6aa7b597a47851b4b5c5441ca5528
Gerrit-Change-Number: 17253
Gerrit-PatchSet: 5
Gerrit-Owner: Vihang Karajgaonkar <vih...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Vihang Karajgaonkar <vih...@cloudera.com>
Gerrit-Comment-Date: Tue, 06 Apr 2021 23:52:41 +0000
Gerrit-HasComments: Yes

Reply via email to