Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18281


Change subject: [tablet] don't call UpdateMetricsForOp() for rows with errors
......................................................................

[tablet] don't call UpdateMetricsForOp() for rows with errors

This patch updates the control path in WriteOp::UpdatePerRowErrors()
to avoid calling UpdateMetricsForOp() for a row that contains an error
since that's effectively a no-op.

Also, renamed UpdatePerRowErrors() into UpdatePerRowMetricsAndErrors().

Change-Id: Ic1f57ee7d1b0064569a34ba93d35979426f76812
---
M src/kudu/tablet/ops/write_op.cc
M src/kudu/tablet/ops/write_op.h
2 files changed, 16 insertions(+), 14 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/18281/1
--
To view, visit http://gerrit.cloudera.org:8080/18281
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic1f57ee7d1b0064569a34ba93d35979426f76812
Gerrit-Change-Number: 18281
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to