Duo Zhang created HBASE-26293:
---------------------------------
Summary: Use reservoir sampling when selecting bootstrap nodes
Key: HBASE-26293
URL: https://issues.apache.org/jira/browse/HBASE-26293
Project: HBase
Issue Type: Sub-task
Components: master, regionserver
Reporter: Duo Zhang
In the current implementation, we need to copy all the region servers out to a
new array list, shuffle the list, and then get the first several elements.
We could use reservoir sampling to reduce the overhead here.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)