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

Wrong managenement of non expected calls in the client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.98.6, 2.0.0
    • 0.99.2
    • Client, Performance
    • None
    • Reviewed

    Description

      If a call is purged or canceled we try to skip the reply from the server, but we read the wrong number of bytes so we corrupt the tcp channel. It's hidden as it triggers retry and so on, but it's bad for performances obviously.

      It happens with cell blocks.

      ram_krish_86, saint.ack@gmail.com, you know this part better than me, do you agree with the analysis and the patch?

      The changes in rpcServer are not fully related: as the client close the connections in such situation, I observed both ClosedChannelException and CancelledKeyException.

      Attachments

        1. 11835.rebase.patch
          4 kB
          Michael Stack
        2. 11835.rebase.patch
          4 kB
          Michael Stack
        3. 11835.rebase.patch
          4 kB
          Nicolas Liochon
        4. rpcClient.patch
          4 kB
          Nicolas Liochon

        Activity

          People

            nkeywal Nicolas Liochon
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: