Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9380

Reduce the number of system calls when DN writes a key

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 1.4.0
    • None

    Description

      To execute `HddsDispatcher.sendCloseContainerActionIfNeeded` once, need to call `getCapacity()` 3 times and `getAvailable()` 2 times.

      The `getCapacity()` and `getAvailable()` are System call, we need reduce the System calls.

       Here reduces the number of `getCapacity()` and `getAvailable()` calls to one each.

      Attachments

        Issue Links

        Activity

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

          People

            XiChen ChenXi Assign to me
            XiChen ChenXi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment