Jim Apple has posted comments on this change.

Change subject: IMPALA-5031: Set DiskIoMgr::ScanRange::is_cancelled_ before read
......................................................................


Patch Set 2:

(1 comment)

Had to rebase to pick up IMPALA-5594, which fixed a broken build with newer 
Kudu JARs.

http://gerrit.cloudera.org:8080/#/c/7294/2/be/src/runtime/disk-io-mgr.h
File be/src/runtime/disk-io-mgr.h:

PS2, Line 584:  is_cancelled_ = false;
> Actually, shouldn't this be done in Reset() instead ?
I would prefer to keep this patch within the bounds of only fixing the 
undefined behavior; I'd suggest that meaningful changes like changing the 
behavior of Reset() would best fit in a different patch. Thoughts?

In the meantime, I have initialized all other bool flags, as you have suggested.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I22898ec96ac44c4902f8072f27453cfc58358cae
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Jim Apple <[email protected]>
Gerrit-Reviewer: Jim Apple <[email protected]>
Gerrit-Reviewer: Michael Ho <[email protected]>
Gerrit-HasComments: Yes

Reply via email to