saintstack commented on a change in pull request #775: HBASE-23230 Enforce
member visibility in HRegionServer
URL: https://github.com/apache/hbase/pull/775#discussion_r343925239
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
##########
@@ -3807,10 +3688,14 @@ public SecureBulkLoadManager
getSecureBulkLoadManager() {
}
@Override
- public EntityLock regionLock(List<RegionInfo> regionInfos, String
description, Abortable abort)
- throws IOException {
- return new LockServiceClient(conf, lockStub,
asyncClusterConnection.getNonceGenerator())
- .regionLock(regionInfos, description, abort);
+ public EntityLock regionLock(
+ final List<RegionInfo> regionInfo,
+ final String description,
+ final Abortable abort
+ ) {
Review comment:
Yeah, code looks unusual. See code around you.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services