impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitris Tsirogiannis (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3040: Fix test caching ddl test
Date Thu, 13 Apr 2017 18:50:09 GMT
Dimitris Tsirogiannis has posted comments on this change.

Change subject: IMPALA-3040: Fix test_caching_ddl test

Patch Set 2:


Some comments/questions. No new patch until we answer these first.
File tests/query_test/

Line 303:       way cache requests are added/dropped/reported (see IMPALA-3040), it tries
to return
> weird indentation

Line 304:       a stable result by making several attempts to stabilize that within a reasonable
> that -> it

Line 311:   max_num_stabilization_attempts = 3
> This is a little strange to me. If the num_requests keep changing, then int
So, you want to exit when no change is detected? I think you'll exit prematurely with this

Line 311:   max_num_stabilization_attempts = 3
> Actually having a 10s timeout still seems like a good idea
What are the semantics of the 10s timeout? Essentially, do you want an upper bound on the
number of tries (10/2 = 5 max tries) or something else?

Line 324:         num_stabilization_attempts = num_stabilization_attempts + 1
> We hit the max attempts once we detect a change, but then we exit the loop.
I am not sure. Shouldn't we put an upper bound here?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I3ec4ba5dfae6e90a2bb76e22c93909b05bd78fa4
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Dimitris Tsirogiannis <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Dimitris Tsirogiannis <>
Gerrit-HasComments: Yes

View raw message