Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-4713

Log TException in ConfigNodeClient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • 2022-10-Cluster

    Description

      The current retry logic in ConfigNodeClient is as following:

       

       

      As we can see, this block of code ignores the TException, which might be import sometimes. Take the register process as example: 

       

       

      The above screenshot doesn't contain anything valuable since the error log for expressing why fail to communicate with ConfigNode-leader is ignored. Therefore, we should add log that record the TException:

      Attachments

        1. image-2022-10-21-16-57-19-896.png
          764 kB
          Yongzao Dan
        2. image-2022-10-21-16-53-58-279.png
          134 kB
          Yongzao Dan
        3. image-2022-10-21-16-50-52-031.png
          80 kB
          Yongzao Dan

        Issue Links

          Activity

            People

              Mrquan Quan Siyi
              CRZbulabula Yongzao Dan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: