apurtell commented on code in PR #4924:
URL: https://github.com/apache/hbase/pull/4924#discussion_r1065100096
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.java:
##########
@@ -166,6 +169,16 @@ public void call(RegionServerObserver observer) throws
IOException {
});
}
+ public void preReplicationSinkBatchMutate(AdminProtos.WALEntry walEntry,
Mutation mutation)
Review Comment:
The coprocessor API has a symmetry around upcall points by design principle.
Whenever there is a preXXX action, giving the user control before a thing
happens, there must also be a postXXX action, letting the user get control
after the thing happened. There can be case by case exceptions when no postXXX
condition actually exists, like after a shutdown.
--
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]