XMLWordPrintableJSON

Details

    Description

      Consider the following case:

      • Two IntputGates
      • Input selection is not ALL (say FIRST initially)
      • Unaligned Checkpoints ON
      • on recovery, there are "parts" of records in all channels (actually 1 is enough I think)

      What happens:

      1. StreamTask initiates recovery and scedule partition request upon it's end
      2. All gates and channels will receive buffers from StateReader
      3. All channels of a single gate will consume those state buffers - completing that gate's StateConsumedFuture
      4. InputProcessor will return NOTHING_AVAILABLE (see StreamTwoInputProcessor.getInputStatus)
      5. StreamTask will suspend its default action
      6. State of the 2nd gate won't be consumed - so its StateConsumedFutures won't be completed - so no partitions will be requested

      Solution: request partitions independently for each channel.

      Attachments

        Issue Links

          Activity

            People

              roman Roman Khachatryan
              roman Roman Khachatryan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: