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

Some new serializer snapshots added after 1.6 are not implementing the new TypeSerializerSnapshot interface

    XMLWordPrintableJSON

Details

    Description

      In commit [3787b89105c6a005ddca999b0b8a0356e812ede6|https://github.com/apache/flink/commit/3787b89105c6a005ddca999b0b8a0356e812ede6,] there were a few serializer snapshot implementations that were newly added, namely:

      • LockableSerializerConfigSnapshot
      • ListViewSerializerConfigSnapshot
      • MapViewSerializerConfigSnapshot
      • ScalaEitherSerializerConfigSnapshot

      The problem is that instead of implementing the newer TypeSerializerSnapshot, they are extending the legacy deprecated TypeSerializerConfigSnapshot. This doesn't break things, but we will be redundantly writing Java-serialized with the new snapshots, as well as causing us to must introduce migration paths code later on after releasing them.

      It would be more ideal to implement them properly as TypeSerializerSnapshot for the release.

      Attachments

        Issue Links

          Activity

            People

              tzulitai Tzu-Li (Gordon) Tai
              tzulitai Tzu-Li (Gordon) Tai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: