You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2020/11/28 13:53:00 UTC

[jira] [Created] (HBASE-25337) The stub in AsyncConnectionImpl.rsStubs and adminSubs never gets cleaned up

Duo Zhang created HBASE-25337:
---------------------------------

             Summary: The stub in AsyncConnectionImpl.rsStubs and adminSubs never gets cleaned up
                 Key: HBASE-25337
                 URL: https://issues.apache.org/jira/browse/HBASE-25337
             Project: HBase
          Issue Type: Sub-task
          Components: Client, rpc
            Reporter: Duo Zhang


Currently there is no way for us to remove the unused stub in these two maps, and after HBASE-25292, things get worse as we will use ServerName directly as the stub key which means every time a region server restarts, we will have a new entry in the map.

In the past, since the name only contains host and port(and ip address if hostnameCanChange is true), so we will not have too many entris in these two maps unless we replaced the current region servers with new ones, but it could still be limited to the machines we have.

So here I propose that we just use host and port directly as now we will do a resolve when connecting, to ge back the old behavior.

And maybe we should also find a way to cleanup these two maps.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)