Sammi Chen created HDDS-12238:
---------------------------------

             Summary: Improve OM DELETE_KEY audit log to include key size
                 Key: HDDS-12238
                 URL: https://issues.apache.org/jira/browse/HDDS-12238
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Sammi Chen
            Assignee: Sammi Chen


Here is one example of current DELETE_KEY audit log.  The dataSize is always 0. 
{noformat}
2025-01-24 03:13:23,876 | INFO  | OMAudit | 
[email protected] | ip=10.80.141.10 | op=DELETE_KEY 
{volume=hive, bucket=mi-staging.db, 
key=nova_upstream_collections_hive_temp_2025_01_24_03_09_24/_temporary/0/_temporary/attempt_20250124030924_0006_m_000147_3170,
 dataSize=0, replicationType=NONE, replicationFactor=ZERO} | ret=SUCCESS |
{noformat}

This task aims to have the real data size for deleted key, so that it's easy to 
calculate the total size of deleted keys in a period of time, which is useful 
when investigating Ozone space reclaimed different than expectation cases. 




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to