You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Prashant Wason (Jira)" <ji...@apache.org> on 2021/06/15 07:44:00 UTC

[jira] [Created] (HUDI-2017) Some of the Metadata table metrics are incorrect

Prashant Wason created HUDI-2017:
------------------------------------

             Summary: Some of the Metadata table metrics are incorrect 
                 Key: HUDI-2017
                 URL: https://issues.apache.org/jira/browse/HUDI-2017
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Prashant Wason
            Assignee: Prashant Wason


Metadata Table is synced in preWrite() and postWrite() functions of commit. As part of the sync, the current sizes and basefile/logfile counts are published as metrics. If we use the Registry.add() API, the count and sizes are incorrectly published as sum of the two values.

We need to introduce a new API in the metrics registry which allows setting the value of a metric.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)