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

AsyncProcess has incorrent count of tasks if the backoff policy is enabled

    XMLWordPrintableJSON

Details

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

    Description

      We increment the count before using the backoff policy. So if there are any policy splits the requests, the total increment will be smaller than total decrement.

      AsyncProcess.java
      private void sendMultiAction(...) {
        ...
        incTaskCounters(multiAction.getRegions(), server);
        Collection<? extends Runnable> runnables = getNewMultiActionRunnable(server, multiAction, numAttempt);
        ...
      }
      

      Attachments

        1. HBASE-16515.addendum.patch
          2 kB
          Chia-Ping Tsai
        2. HBASE-16515.v1.patch
          7 kB
          Chia-Ping Tsai
        3. HBASE-16515.v2.patch
          7 kB
          Chia-Ping Tsai
        4. HBASE-16515.v3.patch
          8 kB
          Chia-Ping Tsai

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: