impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Borok-Nagy (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-6134: Update code base to use impala::ConditionVariable
Date Tue, 07 Nov 2017 14:58:17 GMT
Zoltan Borok-Nagy has posted comments on this change. (

Change subject: IMPALA-6134: Update code base to use impala::ConditionVariable

Patch Set 2:


Thanks, updated the code and hopefully resolved the merge conflict.
File be/src/runtime/
PS2, Line 220: unique_lock
> This change is harmless but doesn't seem necessary.
Oops, I rewrote it when I started to work on "the mutex should be released by the time we
call notify".
This shouldn't be in this commit.

File be/src/runtime/
PS2, Line 332:   auto wait_duration = boost::posix_time::seconds(report_fragment_offset);
> The use of "auto" here is probably marginal as far as our coding idioms go.
PS2, Line 337:     auto wait_duration = boost::posix_time::seconds(FLAGS_status_report_interval);
> This is pre-existing but we should avoid shadowing variables.
File be/src/service/
PS2, Line 1800:         session_timeout_cv_.WaitFor(timeout_lock, wait_duration);
> nit: could just be a one liner.

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3085c6dcb42350b61244df6e7f091a1e7db356c9
Gerrit-Change-Number: 8428
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Philip Zeyliger <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Reviewer: Zoltan Borok-Nagy <>
Gerrit-Comment-Date: Tue, 07 Nov 2017 14:58:17 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message