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

Stale connection could stay for a while

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.99.0, 0.96.3, 0.98.5, 0.94.22
    • Client
    • None
    • Reviewed

    Description

      In RpcClient, we cache the connection to each region server. When the connection goes bad, it stays in the cache till it's removed. Before it's removed, new calls will try to use it and just fail. The connection is a thread. It could be stuck in trying to receive some response. Before this receiving thread times out, it won't remove itself from the cache.

      It will be better to interrupt the receiving thread and let it clean up sooner.

      Attachments

        1. hbase-11565-v1.patch
          0.5 kB
          Jimmy Xiang
        2. hbase-11565-0.98.patch
          0.7 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: