You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2026/07/22 20:44:00 UTC

[jira] [Created] (HDDS-15943) Remove LockUsageInfo

Tsz-wo Sze created HDDS-15943:
---------------------------------

             Summary: Remove LockUsageInfo
                 Key: HDDS-15943
                 URL: https://issues.apache.org/jira/browse/HDDS-15943
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: OM
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


- LockUsageInfo has startReadHeldTimeNanos and startWriteHeldTimeNanos
- ResourceManager has two ThreadLocal<LockUsageInfo>(s): readLockTimeStampNanos and writeLockTimeStampNanos
-* readLockTimeStampNanos uses only startReadHeldTimeNanos
-* writeLockTimeStampNanos uses only startWriteHeldTimeNanos

Thus, we may just use ThreadLocal<Long> and remove LockUsageInfo.



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