This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 361a563addd HBASE-29649 Un-deprecate preWALRestore and postWALRestore
in RegionCoprocessorHost (#7370)
361a563addd is described below
commit 361a563addd1dfc1ff866c2fdcb4e15233886e54
Author: Istvan Toth <[email protected]>
AuthorDate: Thu Oct 9 06:21:05 2025 +0200
HBASE-29649 Un-deprecate preWALRestore and postWALRestore in
RegionCoprocessorHost (#7370)
Signed-off-by: Duo Zhang <[email protected]>
---
.../apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java | 8 --------
1 file changed, 8 deletions(-)
diff --git
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
index e0c7465d972..07c58fea691 100644
---
a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
+++
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java
@@ -1437,10 +1437,7 @@ public class RegionCoprocessorHost
/**
* Supports Coprocessor 'bypass'.
* @return true if default behavior should be bypassed, false otherwise
- * @deprecated Since hbase-2.0.0. No replacement. To be removed in
hbase-3.0.0 and replaced with
- * something that doesn't expose IntefaceAudience.Private
classes.
*/
- @Deprecated
public boolean preWALRestore(final RegionInfo info, final WALKey logKey,
final WALEdit logEdit)
throws IOException {
return execOperation(
@@ -1452,11 +1449,6 @@ public class RegionCoprocessorHost
});
}
- /**
- * @deprecated Since hbase-2.0.0. No replacement. To be removed in
hbase-3.0.0 and replaced with
- * something that doesn't expose IntefaceAudience.Private
classes.
- */
- @Deprecated
public void postWALRestore(final RegionInfo info, final WALKey logKey, final
WALEdit logEdit)
throws IOException {
execOperation(coprocEnvironments.isEmpty() ? null : new
RegionObserverOperationWithoutResult() {