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

Node.AddAllocation() isn't error checked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • None

    Description

      The AddAllocation() method is sometimes called in contexts where the allocation can fail, and others where it should not. This leads to silent corruption of values in certain cases. To fix this, we should split this method into TryAddAllocation(), using the existing semantics, and a new AddAllocation() method which cannot fail.

      Attachments

        Issue Links

          Activity

            People

              ccondit Craig Condit
              ccondit Craig Condit
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: