impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Hecht (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-6121: remove I/O mgr request context cache
Date Mon, 13 Nov 2017 22:05:47 GMT
Dan Hecht has posted comments on this change. ( )

Change subject: IMPALA-6121: remove I/O mgr request context cache

Patch Set 8: Code-Review+2

File be/src/runtime/disk-io-mgr-reader-context.h:
PS8, Line 27:  but some clients may need to include this header, e.g. to make the
            : /// unique_ptr<DiskIoRequestContext> destructor work correctly.
            : ///
that's really unfortunate, but the change is a net win.
File be/src/runtime/disk-io-mgr.h:
PS7, Line 654:   std::unique_ptr<DiskIoRequestContext> RegisterContext(MemTracker* reader_mem_tracker);
> I think it's an implementation detail the RegisterContext() doesn't registe
I wasn't thinking in terms of implementation. I was thinking in terms of the interface --
how can a context be "registered" when the caller doesn't pass a context to be registered?

Anyway, I'm fine with leaving the terminology alone in this change.
File be/src/runtime/runtime-state.h:
PS8, Line 39: class DiskIoRequestContext;

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I91414eceaa4938fccd74686fe6bebede6ef36108
Gerrit-Change-Number: 8408
Gerrit-PatchSet: 8
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tianyi Wang <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Comment-Date: Mon, 13 Nov 2017 22:05:47 +0000
Gerrit-HasComments: Yes

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