This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new 11bc9e917f8 HBASE-29649 Un-deprecate preWALRestore and postWALRestore 
in RegionCoprocessorHost (#7370)
11bc9e917f8 is described below

commit 11bc9e917f86ea59f51e978aa34eab55f7bc8523
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 52b3b54f4b2..3a59cc86330 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
@@ -1440,10 +1440,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(
@@ -1455,11 +1452,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() {

Reply via email to