Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-13240

Add tools to detect incompatible changes in catalog and statestore service

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • Impala 4.5.0
    • Infrastructure
    • None
    • ghx-label-5

    Description

      To support upgrading only the impalads of a cluster, we need to make sure backward compatibility between impalad and the catalogd and statestore services. If there are breaking changes in Thrift/Flatbuffers definitions used in these services, the versions become incompatible. Note that Protobuf is only used in communication between impalads so can be ignored here.

      The following files need to be checked:

      • common/thrift/*.thrift
      • common/fbs/*.fbs

      Ideally changes in Thrift definitions should only add optional fields. Changes in Flatbuffers schema only add new fields at the end of a table definition.

      We need a script to verify all Gerrit changes. A precommit job running this script and post comments will be helpful.

      Ref:
      https://diwakergupta.github.io/thrift-missing-guide/#_defining_structs
      https://flatbuffers.dev/flatbuffers_guide_writing_schema.html

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: