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

Race condition in NettyConnectionManager

    XMLWordPrintableJSON

Details

    Description

      The TCP channel queuing mechanism in NettyConnectionManager has a race condition, which may result in re-ordering of envelopes at the receiver (the dreaded "Expected data packet X but received Y" exception).

      Thanks to AHeise for reporting the problem.

      The problem has been introduced with commits 52512636444902497e47ccbfb1cabaffb3e23343 ... 32d168f439bdb5dfab02a3ab2d12e87d0622a67e.

      I will revert the respective commits and implement a fall back, which limits TCP channel multiplexing and immediately closes TCP channels.

      Attachments

        Issue Links

          Activity

            People

              uce Ufuk Celebi
              uce Ufuk Celebi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: