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

Narrow down interface for compatibility hook method in VersionedIOReadableWritable

    XMLWordPrintableJSON

Details

    Description

      The VersionedIOReadableWritable provides a isCompatibleVersion method that allows users to override to resolve older versions.

      This method allows too much space for the user to mess up the implementation, and is much more relevant now because we have an user-facing class TypeSerializerConfigSnapshot which extends VersionedIOReadableWritable.

      Instead of a isCompatibleVersion method, it should only expose a narrower int[] getCompatibleVersions that the internal version check uses.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: