Henry Robinson has posted comments on this change.

Change subject: IMPALA-2987: Distinguish between already-closed and never-seen 
data stream receivers
......................................................................


Patch Set 6:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/2305/6/be/src/runtime/data-stream-mgr.cc
File be/src/runtime/data-stream-mgr.cc:

Line 38: DEFINE_int32(datastream_timeout_ms, 120000, "(Advanced) The time, in 
ms, that can elapse"
> datastream_sender_timeout? just to disambiguate.
Done


Line 48: const int32_t STREAM_EXPIRATION_TIME_MS = 300 * 1000;
> do we need ms resolution here?
Probably not, but I am nervous to change at this point because of the risk of 
bugs with getting units wrong. I'll leave a TODO.


Line 187:   bool already_unregistered;
> call this dummy
Called it unused to be very explicit.


Line 191:     DCHECK(!already_unregistered);
> you shouldn't rely on already_unregistered to be set to anything in particu
Done


http://gerrit.cloudera.org:8080/#/c/2305/6/be/src/runtime/data-stream-mgr.h
File be/src/runtime/data-stream-mgr.h:

Line 170:   /// 1. *already_unregistered == true: the receiver has previously 
arrived and was
> should it be 'had previously arrived'? i'm sometimes a bit unclear about en
argh, not sure. I *think* 'had' is better to avoid connoting recency.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib1734992c7199b9dd4b03afca5372022051b6fbd
Gerrit-PatchSet: 6
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.5.0_5.7.0
Gerrit-Owner: Henry Robinson <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>
Gerrit-Reviewer: Skye Wanderman-Milne <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-HasComments: Yes

Reply via email to