[
https://issues.apache.org/jira/browse/HBASE-27062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
chenglei updated HBASE-27062:
-----------------------------
Description: For master branch, {{HBaseInterClusterReplicationEndpoint}}
has already to use {{AsyncClusterConnection}} to send to peer cluster, but it
still use {{ThreadPoolExecutor}} to call
{{AsyncRegionServerAdmin.replicateWALEntry}} synchronously, I think we could
remove the {{ThreadPoolExecutor}} and call
{{AsyncRegionServerAdmin.replicateWALEntry}} using asynchronous style. (was:
For master branch, {{HBaseInterClusterReplicationEndpoint}} has already to use
{{AsyncClusterConnection}} to send to peer cluster, but it still use
{{ThreadPoolExecutor}} to call {{AsyncRegionServerAdmin.replicateWALEntry)}}
synchronously, I think we could remove the {{ThreadPoolExecutor}} and call
{{AsyncRegionServerAdmin.replicateWALEntry)}} using asynchronous style.)
> ThreadPool is unnecessary in HBaseInterClusterReplicationEndpoint when use
> AsyncClusterConnection
> -------------------------------------------------------------------------------------------------
>
> Key: HBASE-27062
> URL: https://issues.apache.org/jira/browse/HBASE-27062
> Project: HBase
> Issue Type: Improvement
> Components: Replication
> Affects Versions: 3.0.0-alpha-2
> Reporter: chenglei
> Priority: Major
>
> For master branch, {{HBaseInterClusterReplicationEndpoint}} has already to
> use {{AsyncClusterConnection}} to send to peer cluster, but it still use
> {{ThreadPoolExecutor}} to call {{AsyncRegionServerAdmin.replicateWALEntry}}
> synchronously, I think we could remove the {{ThreadPoolExecutor}} and call
> {{AsyncRegionServerAdmin.replicateWALEntry}} using asynchronous style.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)