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

Channel state handles, when inlined, duplicate underlying data

    XMLWordPrintableJSON

Details

    Description

      If Unaligned checkpoints are enabled, channel state is written as state handles. Each channel has a handle and each such handle references the same underlying streamStateHandle (this is done to have a single file per subtask).
      But, if the state is less then state.backend.fs.memory-threshold, the data is sent directly to JM as a byteStreamHandle. This causes each channel state handle to hold the whole subtask state.

      This PR solves this by extracting relevant potions of the underlying handles if they are {{byteStreamHandle}}s.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: