You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2024/05/28 17:48:00 UTC

[jira] [Commented] (HDDS-10907) DataNode StorageContainerMetrics numWriteChunk is counted multiple times

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

Wei-Chiu Chuang commented on HDDS-10907:
----------------------------------------

cc [~wfps1210] For example, TestBlockOutputStream verifies metrics at client side. Perhaps we can verify data node side metrics as well.

> DataNode StorageContainerMetrics numWriteChunk is counted multiple times
> ------------------------------------------------------------------------
>
>                 Key: HDDS-10907
>                 URL: https://issues.apache.org/jira/browse/HDDS-10907
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Priority: Minor
>
> StorageContainerMetrics.incContainerOpsMetrics() updates operation counts. It is incremented not just once for WriteChunk, because it is called by HddsDispatcher.dispatchRequest() during WRITE_DATA (by ContainerStateMachine.writeStateMachineData()) and COMMIT_DATA phase.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org