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

Wrong sleep time when RegionServerCallable need retry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1.0, 1.2.0, 1.3.0, 0.98.19, 2.0.0
    • 1.3.0, 1.2.2, 0.98.20, 1.1.6, 2.0.0
    • Client
    • None
    • Reviewed

    Description

      In RpcRetryingCallerImpl, it get pause time by expectedSleep = callable.sleep(pause, tries + 1); And in RegionServerCallable, it get pasue time by sleep = ConnectionUtils.getPauseTime(pause, tries + 1). So tries will be bumped up twice. And the pasue time is 3 * hbase.client.pause when tries is 0.
      RETRY_BACKOFF =

      {1, 2, 3, 5, 10, 20, 40, 100, 100, 100, 100, 200, 200}

      Attachments

        1. HBASE-15615.patch
          0.9 kB
          Guanghao Zhang
        2. HBASE-15615-branch-0.98.patch
          15 kB
          Guanghao Zhang
        3. HBASE-15615-branch-1.0-v2.patch
          9 kB
          Guanghao Zhang
        4. HBASE-15615-branch-1.1-v2.patch
          10 kB
          Ted Yu
        5. HBASE-15615-branch-1.1-v2.patch
          10 kB
          Guanghao Zhang
        6. HBASE-15615-branch-1.patch
          6 kB
          Guanghao Zhang
        7. HBASE-15615-branch-1-v3.patch
          14 kB
          Guanghao Zhang
        8. HBASE-15615-v1.patch
          6 kB
          Michael Stack
        9. HBASE-15615-v1.patch
          6 kB
          Guanghao Zhang
        10. HBASE-15615-v2.patch
          10 kB
          Guanghao Zhang
        11. HBASE-15615-v2.patch
          10 kB
          Guanghao Zhang
        12. HBASE-15615-v3.patch
          12 kB
          Guanghao Zhang
        13. HBASE-15615-v4.patch
          10 kB
          Guanghao Zhang
        14. HBASE-15615-v5.patch
          14 kB
          Guanghao Zhang

        Activity

          People

            zghao Guanghao Zhang
            zghao Guanghao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: