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

Set state checkpointer before default state for PartitionedStreamOperatorState

    XMLWordPrintableJSON

Details

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

    Description

      Currently the default state is set before the passed StateCheckpointer instance for operator states.

      What currently happens because of this is that the default value is serialized with Java serialization and then deserialized on the opstate.value() call using the StateCheckpointer most likely causing a failure.

      This can be trivially fixed by swaping the order of the 2 calls.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: