Skip to content

Commit d768608

Browse files
committed
HBASE-29649 Un-deprecate preWALRestore and postWALRestore in RegionCoprocessorHost (#7370)
Signed-off-by: Duo Zhang <[email protected]> (cherry picked from commit 361a563)
1 parent d46a577 commit d768608

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,10 +1397,7 @@ public void call(RegionObserver observer) throws IOException {
13971397
/**
13981398
* Supports Coprocessor 'bypass'.
13991399
* @return true if default behavior should be bypassed, false otherwise
1400-
* @deprecated Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced with
1401-
* something that doesn't expose IntefaceAudience.Private classes.
14021400
*/
1403-
@Deprecated
14041401
public boolean preWALRestore(final RegionInfo info, final WALKey logKey, final WALEdit logEdit)
14051402
throws IOException {
14061403
return execOperation(
@@ -1412,11 +1409,6 @@ public void call(RegionObserver observer) throws IOException {
14121409
});
14131410
}
14141411

1415-
/**
1416-
* @deprecated Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced with
1417-
* something that doesn't expose IntefaceAudience.Private classes.
1418-
*/
1419-
@Deprecated
14201412
public void postWALRestore(final RegionInfo info, final WALKey logKey, final WALEdit logEdit)
14211413
throws IOException {
14221414
execOperation(coprocEnvironments.isEmpty() ? null : new RegionObserverOperationWithoutResult() {

0 commit comments

Comments
 (0)