[
https://issues.apache.org/jira/browse/HDDS-816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688581#comment-16688581
]
Arpit Agarwal commented on HDDS-816:
------------------------------------
Yeah [~elek]'s concern is valid. But I still don't like using the RocksDB
provided estimate because it doesn't represent the object count at any known
point of time. Marton is right that the metric will be forever inaccurate after
unclean shutdown e.g. OM process gets SIGKILL or system reboot.
When we have HA we will take periodic RocksDB snapshots. Perhaps we can persist
the object count at the time of the snapshot and the calculate the delta
changes since the snapshot. We could use that to reconcile the count on OM
restart.
> Create OM metrics for bucket, volume, keys
> ------------------------------------------
>
> Key: HDDS-816
> URL: https://issues.apache.org/jira/browse/HDDS-816
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Manager
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Attachments: HDDS-816.00.patch, HDDS-816.01.patch, HDDS-816.03.patch,
> HDDS-816.04.patch, HDDS-816.05.patch, Metrics for number of volumes, buckets,
> keys.pdf, Proposed Approach.pdf
>
>
> This Jira is used to create the following metrics in Ozone manager.
> # number of volumesÂ
> # number of buckets
> # number of keys
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]