[
https://issues.apache.org/jira/browse/HDDS-3578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756201#comment-17756201
]
Siyao Meng commented on HDDS-3578:
----------------------------------
Looks like a low-hanging fruit related to metrics cc [~zitadombi]
> Fix pendingOp metric decrement in XceiverClientGrpc#sendCommandAsync
> --------------------------------------------------------------------
>
> Key: HDDS-3578
> URL: https://issues.apache.org/jira/browse/HDDS-3578
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
> Labels: metrics
>
> XceiverClientGrpc#sendCommandAsync callsĀ
> metrics#decrPendingContainerOpsMetrics in onNext and OnError. This might lead
> to the metric getting decremented twice if both the functions end up getting
> called in a grpc call.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]