[
https://issues.apache.org/jira/browse/HBASE-18079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017630#comment-16017630
]
Enis Soztutar commented on HBASE-18079:
---------------------------------------
Yeah, the ClientBootstrap objects do not seem to be used afterwards. Looking at
the code, ClientBootstrap does not do much other than having connect() method
which returns the pipeline. The patch seems to be safe.
> [C++] Optimize ClientBootstrap in ConnectionPool
> ------------------------------------------------
>
> Key: HBASE-18079
> URL: https://issues.apache.org/jira/browse/HBASE-18079
> Project: HBase
> Issue Type: Sub-task
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Attachments: HBASE-18079-HBASE-14850.000.patch
>
>
> ConnectionPool creates an instance of wangle::ClientBootstrap for every new
> connection (i.e. Wangle pipeline) and cache it hereafter, it is unnecessary.
> Instead, ConnectionPool can maintain a single ClientBootstrap instance in its
> members.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)