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

Execute network flushing actions in the mailbox instead of OutputFlusher

    XMLWordPrintableJSON

Details

    Description

      Currently almost all interactions with the network stack are happening from the mailbox thread, except of org.apache.flink.runtime.io.network.api.writer.ResultPartitionWriter#flushAll, which happens from OutputFlusher thread.

      We could move ResultPartitionWriter#flushAll to happen in the mailbox thread (as a mailbox action), which would further simplify the threading model.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m