impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] WIP: Use AUTO FLUSH BACKGROUND for Kudu sink
Date Fri, 14 Oct 2016 01:32:45 GMT
Matthew Jacobs has posted comments on this change.

Change subject: WIP: Use AUTO_FLUSH_BACKGROUND for Kudu sink

Patch Set 1:


I'm taking over the patch and will update it soon.
File be/src/exec/

PS1, Line 225:   // TODO: instead of adding them here and subtracting errors in CheckForErrors,
             :   // would it be better to _set_ the value to the total number of written rows
             :   // minus the errors minus the current buffer size?
> Todd: Can we even get the current buffer size?
On second though, I don't think we care about updating this constantly. We can just update
it once in FinalFlush with total num written - total num errors.

PS1, Line 234:   if (session_->CountPendingErrors() == 0) {
             :     return Status::OK();
             :   }
> nit: 1 line

PS1, Line 281:   // TODO: these counters don't make so much sense anymore.
             :   SCOPED_TIMER(kudu_flush_timer_);
             :   COUNTER_ADD(kudu_flush_counter_, 1);
> can you remove them then?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I665ce82d1caf64cf5bdf4bc0e15edbf9f1dc5ba0
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <>
Gerrit-Reviewer: Matthew Jacobs <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Todd Lipcon <>
Gerrit-HasComments: Yes

View raw message