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

Redundant AllocationID verification for allocateSlot in TaskSlotTable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0
    • 1.13.0
    • Runtime / Coordination
    • None

    Description

       

      In function TaskSlotTable::allocateSlot, first we will check whether allocationId is exist, when exist we will refused this allocation, this was introduced by FLINK-14589 . But in FLINK-14189, when allocationId exist, we think this is valid, which is contradictory with the first check.

       The code is following:

      https://github.com/apache/flink/blob/310452e800355f0dcc4bc9dd26e9cecba263f3d6/flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java#L261

      Attachments

        Activity

          People

            Unassigned Unassigned
            tedxia xiajun
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: