hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-4237) Directly remove the call being handled from the map of outstanding RPCs
Date Tue, 23 Aug 2011 01:09:29 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu resolved HBASE-4237.
---------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

> Directly remove the call being handled from the map of outstanding RPCs
> -----------------------------------------------------------------------
>
>                 Key: HBASE-4237
>                 URL: https://issues.apache.org/jira/browse/HBASE-4237
>             Project: HBase
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.90.4
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Minor
>
> The client has to maintain a map of RPC ID to `Call' object for this RPC, for every outstanding
RPC.  When receiving a response, the client was getting the `Call' out of the map (one O(log
n) operation) and then removing it from the map (another O(log n) operation).  There is no
benefit in not removing it directly from the map.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message