Apache9 commented on a change in pull request #3716:
URL: https://github.com/apache/hbase/pull/3716#discussion_r737513493



##########
File path: hbase-protocol-shaded/src/main/protobuf/server/region/Admin.proto
##########
@@ -277,6 +284,7 @@ message ExecuteProceduresRequest {
   repeated OpenRegionRequest open_region = 1;
   repeated CloseRegionRequest close_region = 2;
   repeated RemoteProcedureRequest proc = 3;
+  repeated SnapshotRegionRequest snapshot_region = 4;

Review comment:
       You can see the current implementation for some remote procedures. They 
just use the same executeProcedures method for sending from master to region 
server. The RemoteProcedureRequest has a class name field for creating it using 
reflection. You can implement the logic of snapshot in the created class.




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to