Duo Zhang created HBASE-22039:
---------------------------------
Summary: Should add the synchronous parameter for the XXXSwitch
method in AsyncAdmin
Key: HBASE-22039
URL: https://issues.apache.org/jira/browse/HBASE-22039
Project: HBase
Issue Type: Task
Components: Admin, asyncclient, Client
Reporter: Duo Zhang
Fix For: 3.0.0, 2.2.0, 2.3.0, 2.1.5
For now we always pass true to HMaster, maybe the decision is that user just do
not need to calling get on the returned Future if it wants asynchronous.
But the problem here is that, the return value is not void, it is a boolean,
which is the previous state of the flag, sometimes users do not need to wait
until the previous transitions or split/merge to complete, but they still want
to get the previous value of the flag.
So we still need to provide the synchronous parameter.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)