Skip to content

Commit 11bc9e9

Browse files
committed
HBASE-29649 Un-deprecate preWALRestore and postWALRestore in RegionCoprocessorHost (#7370)
Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 361a563)
1 parent 6b887db commit 11bc9e9

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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
@@ -1440,10 +1440,7 @@ public void call(RegionObserver observer) throws IOException {
14401440
/**
14411441
* Supports Coprocessor 'bypass'.
14421442
* @return true if default behavior should be bypassed, false otherwise
1443-
* @deprecated Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced with
1444-
* something that doesn't expose IntefaceAudience.Private classes.
14451443
*/
1446-
@Deprecated
14471444
public boolean preWALRestore(final RegionInfo info, final WALKey logKey, final WALEdit logEdit)
14481445
throws IOException {
14491446
return execOperation(
@@ -1455,11 +1452,6 @@ public void call(RegionObserver observer) throws IOException {
14551452
});
14561453
}
14571454

1458-
/**
1459-
* @deprecated Since hbase-2.0.0. No replacement. To be removed in hbase-3.0.0 and replaced with
1460-
* something that doesn't expose IntefaceAudience.Private classes.
1461-
*/
1462-
@Deprecated
14631455
public void postWALRestore(final RegionInfo info, final WALKey logKey, final WALEdit logEdit)
14641456
throws IOException {
14651457
execOperation(coprocEnvironments.isEmpty() ? null : new RegionObserverOperationWithoutResult() {

0 commit comments

Comments
 (0)