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 2025/04/12 01:34:00 UTC

[jira] [Updated] (HDDS-12445) Remove unused code from ContainerStateMap

     [ https://issues.apache.org/jira/browse/HDDS-12445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz-wo Sze updated HDDS-12445:
------------------------------
        Parent: HDDS-12828
    Issue Type: Sub-task  (was: Bug)

> Remove unused code from ContainerStateMap
> -----------------------------------------
>
>                 Key: HDDS-12445
>                 URL: https://issues.apache.org/jira/browse/HDDS-12445
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: SCM
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> ContainerStateMap has a resultCache field.  The getMatchingContainerIDs(..) method is the only method adding elements to resultCache.  However, getMatchingContainerIDs(..) is never used.  We should remove the unused (and untested) the code



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