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

[RBF SBN] ClientGSIContext should merge RouterFederatedStates to get the max state id for each namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • rbf
    • Reviewed

    Description

      ClientGSIContext should merge local and remote RouterFederatedState to get the max state id for each namespace.

      And the related code as bellows:

      @Override
      public synchronized void receiveResponseState(RpcResponseHeaderProto header) {
        if (header.hasRouterFederatedState()) {
          // BUG here
          routerFederatedState = header.getRouterFederatedState();
        } else {
          lastSeenStateId.accumulate(header.getStateId());
        }
      } 

      Attachments

        Issue Links

          Activity

            People

              xuzq_zander ZanderXu
              xuzq_zander ZanderXu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: