Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8926 Umbrella for further EC improvements
  3. HDDS-8854

Avoid unnecessary DatanodeDetails creation for NodeStateManager lookup

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Implemented
    • None
    • 1.4.0
    • SCM

    Description

        public DatanodeInfo getNode(DatanodeDetails datanodeDetails)
            throws NodeNotFoundException {
          return nodeStateMap.getNodeInfo(datanodeDetails.getUuid());
      

      Some callers create DatanodeDetails just for the lookup. These could be avoided by an overloaded method accepting UUID directly.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adoroszlai Attila Doroszlai Assign to me
            adoroszlai Attila Doroszlai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment