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

Remove partitioned states when set to null

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Currently there is no way to remove a specific key from the partitioned state stored at streaming operators, which can cause unnecessary state accumulation.

      I suggest to remove the partitioned state for the current input when the state is set to null, and upon next retrieval simply return the default value. This allows the implementation of streaming programs that can garbage collect their own unwanted state.

      Attachments

        Activity

          People

            gyfora Gyula Fora
            gyfora Gyula Fora
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: