You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ashish Kumar (Jira)" <ji...@apache.org> on 2025/05/28 06:00:00 UTC

[jira] [Assigned] (HDDS-13103) Correct transaction metrics in SCMBlockDeletingService

     [ https://issues.apache.org/jira/browse/HDDS-13103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashish Kumar reassigned HDDS-13103:
-----------------------------------

    Assignee: Aryan Gupta

> Correct transaction metrics in SCMBlockDeletingService
> ------------------------------------------------------
>
>                 Key: HDDS-13103
>                 URL: https://issues.apache.org/jira/browse/HDDS-13103
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Ashish Kumar
>            Assignee: Aryan Gupta
>            Priority: Major
>
> NumBlockDeletionTransactionCreated and NumBlockDeletionTransactionCompleted metrics are updated at each transaction level.
> Whereas NumBlockDeletionTransactionSent, NumBlockDeletionTransactionSuccess and NumBlockDeletionTransactionFailure are updated depending on the transactions sent to DN. If the same transaction is sent to 3 DN(as blocks will reside in 3 DNs for Ratis-3), these metrics are updated 3 times.
> By looking into below metrics it looks, 1731 transactions are sent and only 577 are completed. But actually 1731 = 577 * 3.
>  
> {code:java}
>     "name" : "Hadoop:service=StorageContainerManager,name=SCMBlockDeletingService",
>     "modelerType" : "SCMBlockDeletingService",
>     "tag.Hostname" : "ccycloud-3.obsdeletion-719.root.comops.site",
>     "NumBlockDeletionCommandSent" : 3,
>     "NumBlockDeletionCommandSuccess" : 3,
>     "NumBlockDeletionCommandFailure" : 0,
>     "NumBlockDeletionTransactionSent" : 1731,
>     "NumBlockDeletionTransactionSuccess" : 1731,
>     "NumBlockDeletionTransactionFailure" : 0,
>     "NumBlockDeletionTransactionCompleted" : 577,
>     "NumBlockDeletionTransactionCreated" : 5672,
>     "NumSkippedTransactions" : 23909618,
>     "NumProcessedTransactions" : 1731, {code}
> We should have proper naming or have consistent metrics for user to understand.
>  



--
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