Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17476

fix: False positive "Observer Node is too far behind" due to long overflow.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      In the code GlobalStateIdContext#receiveRequestState(), if clientStateId is a small negative number, clientStateId-serverStateId may be greater than 

      (ESTIMATED_TRANSACTIONS_PER_SECOND due to overflow
                        * TimeUnit.MILLISECONDS.toSeconds(clientWaitTime)
                        * ESTIMATED_SERVER_TIME_MULTIPLIER),

      resulting in false positives that Observer Node is too far behind.

      Attachments

        1. HDFS-17476.patch
          3 kB
          Jian Zhang
        2. image-2024-04-18-10-57-10-481.png
          342 kB
          Jian Zhang

        Issue Links

          Activity

            People

              Keepromise Jian Zhang
              Keepromise Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: