[ 
https://issues.apache.org/jira/browse/KUDU-3351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532540#comment-17532540
 ] 

ASF subversion and git services commented on KUDU-3351:
-------------------------------------------------------

Commit 03f266854a6ab7ff1732d380c722ba64c018ecc1 in kudu's branch 
refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=03f266854 ]

[client] KUDU-3365: Expose INSERT/UPDATE metrics in the Java API

The work done in the scope of KUDU-3351 included the server-side changes
and corresponding changes in the Kudu C++ API to expose the metrics to
the client applications. This patch implement similar changes to expose
such metrics in Java client API.

Change-Id: I956eb0c0a2cadcf3491550630b861bb48462e8eb
Reviewed-on: http://gerrit.cloudera.org:8080/18489
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>


> Add insert error count metrics in WriteResponsePB
> -------------------------------------------------
>
>                 Key: KUDU-3351
>                 URL: https://issues.apache.org/jira/browse/KUDU-3351
>             Project: Kudu
>          Issue Type: Improvement
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: 1.17.0
>
>
> KUDU-1563 adds support for INSERT_IGNORE, UPDATE_IGNORE, and DELETE_IGNORE.
> However, it is currently lack of per-session metrics about how many rows get 
> ignored vs modified.
> In regular INSERT operation, we depends on per_row_errors field in 
> WriteResponsePB to count how many row operations are failed.
> [https://github.com/apache/kudu/blob/0cb2b7c/src/kudu/tserver/tserver.proto#L175-L183]
>  
> But with INSERT_IGNORE, this field will be empty. We should add relevant 
> metrics field to this WriteResponsePB.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to