Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16492 Setting timeout on blocking operations in read/write path
  3. HBASE-16285

Drop RPC requests if it must be considered as timeout at client

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.4.0, 2.0.0
    • 1.3.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      After HBASE-15593, we have a timeout param in header of RPC requests. We can use it in more scenes.
      A straightforward scene is to drop requests if it has waited so long in RPC queue and has been dropped by client. Even if we handle this request and send the response back, it will not be used any more. And client may have sent a retry. In an extreme case, if the server is slow, all requests may be timeout or queue-full-exception because we should handle previous requests which have been dropped by client and many resources at server are wasted.

      Attachments

        1. HBASE-16285-branch-1-v1.patch
          8 kB
          Phil Yang
        2. HBASE-16285-branch-1-v2.patch
          9 kB
          Phil Yang
        3. HBASE-16285-branch-1-v3.patch
          10 kB
          Phil Yang
        4. HBASE-16285-branch-1-v4.patch
          10 kB
          Phil Yang
        5. HBASE-16285-branch-1-v5.patch
          10 kB
          Phil Yang
        6. HBASE-16285-branch-1-v5.patch
          10 kB
          Phil Yang
        7. HBASE-16285-branch-1-v6.patch
          11 kB
          Phil Yang
        8. HBASE-16285-v1.patch
          7 kB
          Phil Yang
        9. HBASE-16285-v2.patch
          9 kB
          Phil Yang
        10. HBASE-16285-v3.patch
          9 kB
          Phil Yang
        11. HBASE-16285-v4.patch
          10 kB
          Phil Yang
        12. HBASE-16285-v5.patch
          11 kB
          Phil Yang
        13. HBASE-16285-v6.patch
          11 kB
          Phil Yang
        14. HBASE-16285-v7.patch
          11 kB
          Duo Zhang
        15. HBASE-16285-v7.patch
          11 kB
          Phil Yang
        16. HBASE-16285-v8.patch
          11 kB
          Phil Yang
        17. HBASE-16285-v9.patch
          11 kB
          Phil Yang

        Activity

          People

            yangzhe1991 Phil Yang
            yangzhe1991 Phil Yang
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: