Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-17661

fix the queue length passed to FastPathBalancedQueueRpcExecutor

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      SimpleRpcScheduler.java
          if (callqReadShare > 0) {
            // at least 1 read handler and 1 write handler
            callExecutor = new RWQueueRpcExecutor("deafult.RWQ", Math.max(2, handlerCount),
              maxQueueLength, priority, conf, server);
          } else {
            if (RpcExecutor.isFifoQueueType(callQueueType)) {
              callExecutor = new FastPathBalancedQueueRpcExecutor("deafult.FPBQ", handlerCount,
                  maxPriorityQueueLength, priority, conf, server);
          } else {
              callExecutor = new BalancedQueueRpcExecutor("deafult.BQ", handlerCount, maxQueueLength,
                  priority, conf, server);
            }
          }
      

      Attachments

        1. HBASE-17661.v0.patch
          1 kB
          Chia-Ping Tsai
        2. HBASE-17661.branch-1.v0.patch
          1 kB
          Chia-Ping Tsai

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment