impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5567: race in fragment instance teardown
Date Mon, 26 Jun 2017 18:29:23 GMT
Tim Armstrong has posted comments on this change.

Change subject: IMPALA-5567: race in fragment instance teardown

Patch Set 1:

File be/src/exec/

Line 102:     ScalarExprEvaluator::FreeLocalAllocations(output_expr_evals_);
> Not your change but should we check for query status here too ? I can imagi

PS1, Line 150:  DCHECK(
File be/src/runtime/runtime-state.h:

PS1, Line 294:   /// Returns a non-OK status if query execution should stop (e.g., the query
             :   /// cancelled or a mem limit was exceeded). Exec nodes should check this
periodically so
             :   /// execution doesn't continue if the query terminates abnormally. This should
not be
             :   /// called after ReleaseResources().
             :   Status CheckQueryState();
> I think this method is confusing to begin with, which probably led us to mi
How about we rename them to be less vague. Maybe something like:

CheckQueryState() -> CheckMemLimitOrAsyncError()
GetQueryStatus() -> CheckAsyncError()
query_status_ -> async_error_status_

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: If567e734042b5f2b82323368dd536dbf3bdf4744
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message