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

TemporalRowTimeJoinOperator.java will lead to the state expansion by short-life-cycle & huge RowData, although config idle.state.retention.time

    XMLWordPrintableJSON

Details

    Description

      In our company cases, short-life-cycle & huge RowData will use this operator to join each other. Every key called session_id will be expired after 2min.

      With idle.state.retention.time configuration, after 2min if not used, the leftState and rightState will be cleaned up by the operator but nextLeftIndex & registeredTimer state data will be stored forever.

      After running a day(about 20 million session_id in our company cases), the checkpoint operator will cause the job crash.

      I have found the bug, and fixed it.

      Attachments

        Issue Links

          Activity

            People

              zicat Lyn Zhang
              zicat Lyn Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: