Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2777

Improve TrackedResource type

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Currently, TrackedResource is defined as:

      type TrackedResource struct {
      	TrackedResourceMap map[string]map[string]int64
      	locking.RWMutex
      }
      

      As it turned out during the review of YUNIKORN-2652, TrackedResourceMap is actually map[string]*Resource. If we change the definition, we'll be able to use the existing functions for Resource.

      Attachments

        Issue Links

        Activity

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

          People

            pbacsko Peter Bacsko
            pbacsko Peter Bacsko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment