Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-24898 Some further improvements of sort-shuffle
  3. FLINK-25653

Move buffer recycle in SortMergeSubpartitionReader out of lock to avoid deadlock

    XMLWordPrintableJSON

Details

    Description

      For the current sort-shuffle implementation, the different lock order in SortMergeSubpartitionReader andĀ SortMergeResultPartitionReadScheduler can cause deadlock. To solve the problem, we can move buffer recycle in SortMergeSubpartitionReader out of the lock.

      Attachments

        Issue Links

          Activity

            People

              tanyuxin Yuxin Tan
              kevin.cyj Yingjie Cao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: