You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2024/09/11 08:43:51 UTC
(hbase) 02/02: HBASE-28826 Remove the deprecated annotation in RegionCoprocessorHost (#6222)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit b63b310e315068560aea67f8d3d42ace32c516bc
Author: WangXin <14...@qq.com>
AuthorDate: Wed Sep 11 10:11:33 2024 +0800
HBASE-28826 Remove the deprecated annotation in RegionCoprocessorHost (#6222)
Co-authored-by: wangxin <wa...@gmail.com>
Signed-off-by: Duo Zhang <zh...@apache.org>
(cherry picked from commit 9df08255384cb17ae9a93cd139210395c472876b)
---
.../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 c4e68c23407..14ea81817a5 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
@@ -952,11 +952,7 @@ public class RegionCoprocessorHost
* @param get - the get that could be used Note that the get only does not specify the family
* and qualifier that should be used
* @return true if default processing should be bypassed
- * @deprecated In hbase-2.0.0. Will be removed in hbase-4.0.0. Added explicitly for a single
- * Coprocessor for its needs only. Will be removed. VisibilityController still needs
- * this, need to change the logic there first.
*/
- @Deprecated
public boolean prePrepareTimeStampForDeleteVersion(final Mutation mutation, final Cell kv,
final byte[] byteNow, final Get get) throws IOException {
if (coprocEnvironments.isEmpty()) {
@@ -1614,10 +1610,6 @@ public class RegionCoprocessorHost
});
}
- /**
- * @deprecated Since 2.0 with out any replacement and will be removed in 3.0
- */
- @Deprecated
public DeleteTracker postInstantiateDeleteTracker(DeleteTracker result) throws IOException {
if (this.coprocEnvironments.isEmpty()) {
return result;