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)

Reply via email to