This is an automated email from the ASF dual-hosted git repository.
stoty pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new d7686085288 HBASE-29649 Un-deprecate preWALRestore and postWALRestore
in RegionCoprocessorHost (#7370)
d7686085288 is described below
commit d7686085288a5dfa20ce2926f417ba16ea03de14
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]>
(cherry picked from commit 361a563addd1dfc1ff866c2fdcb4e15233886e54)
---
.../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 0e608fc8dcd..c7eb9d46ea9 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
@@ -1397,10 +1397,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(
@@ -1412,11 +1409,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() {