Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7593 Supporting HSync and lease recovery
  3. HDDS-9884

DataNode doesn't set proper DatanodeVersion when registering with SCM

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDDS-7593
    • None

    Description

      DataNode has a version defined by DatanodeVersion. This is different from ContainerLayoutVersion,
      HDDSVolumeLayoutVersion or HDDSLayoutFeature.
       
      DatanodeVersion is supposed to be carrried inside DatanodeDetails (initialVersion and currentVersion) but they are not when Datanode register with SCM, so SCM doesn't know the DataNode version. Therefore, client doesn't know.
       
      This would need to be fixed to allow new clients talking to old DataNode without blowing up old DataNode. New clients should be able to tell the DataNodes are old and do not send new types of requests.

      Attachments

        Issue Links

          Activity

            People

              siyao Siyao Meng
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: