Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25119

The name of freeSlots parameter in SlotSharingSlotAllocator#determineParallelism method is named incorrectly.

    XMLWordPrintableJSON

Details

    Description

      determineParallism方法中的第二个参数freeSlots,即为在slotpool中空闲的slot,但实际使用时,有的调用方传入的是slotpool中all slot(allocated slot and free slot),有的调用方传入的是slotpool中free slot,因此参数名直接定义成freeSlots,不够准确,影响对determineParallism逻辑的理解。

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wuyan Cassie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.5h
                  0.5h
                  Remaining:
                  Remaining Estimate - 0.5h
                  0.5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified