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-4118: extract encryption utils from BufferedBlockMgr
Date Fri, 30 Sep 2016 06:09:46 GMT
Tim Armstrong has posted comments on this change.

Change subject: IMPALA-4118: extract encryption utils from BufferedBlockMgr

Patch Set 12:

File be/src/runtime/

Line 1342:   // Encrypt to a temporary buffer since so that the original data is still in
the buffer
> Are blocks really shared across threads like that?  Anyway, fine to leave t
The comment wasn't clear at all - reworded to make it clear that the problem is re-pinning
the block before the write is finished. I think this scenario will be easy to avoid. Probably
wouldn't be too hard to fix here but doesn't seem worth the effort.
File be/src/runtime/buffered-block-mgr.h:

PS10, Line 255: , we can
              :     /// instead decrypt data i
> I didn't know what this was trying to say until I saw the clearer comment i

PS10, Line 656: 
> is this talking about encrypted_write_buffer_, or something else?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibebe431f69c3c569cbff68171beaa32ef2ab03b6
Gerrit-PatchSet: 12
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message