Skip to content

Commit 3390195

Browse files
wangxin97-02wangxin
andauthored
HBASE-28824 Add deprecation cycle for methods in RegionServerObserver (apache#6226)
Co-authored-by: wangxin <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
1 parent 766d679 commit 3390195

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ default ReplicationEndpoint postCreateReplicationEndPoint(
9292
/**
9393
* This will be called before executing replication request to shipping log entries.
9494
* @param ctx the environment to interact with the framework and region server.
95-
* @deprecated As of release 2.0.0 with out any replacement. This is maintained for internal usage
96-
* by AccessController. Do not use these hooks in custom co-processors.
95+
* @deprecated As of release 2.0.0 with out any replacement, plan to remove in 4.0.0. This is
96+
* maintained for internal usage by AccessController. Do not use these hooks in custom
97+
* co-processors.
9798
*/
9899
@Deprecated
99100
default void preReplicateLogEntries(final ObserverContext<RegionServerCoprocessorEnvironment> ctx)
@@ -103,8 +104,9 @@ default void preReplicateLogEntries(final ObserverContext<RegionServerCoprocesso
103104
/**
104105
* This will be called after executing replication request to shipping log entries.
105106
* @param ctx the environment to interact with the framework and region server.
106-
* @deprecated As of release 2.0.0 with out any replacement. This is maintained for internal usage
107-
* by AccessController. Do not use these hooks in custom co-processors.
107+
* @deprecated As of release 2.0.0 with out any replacement, plan to remove in 4.0.0. This is
108+
* maintained for internal usage by AccessController. Do not use these hooks in custom
109+
* co-processors.
108110
*/
109111
@Deprecated
110112
default void postReplicateLogEntries(

0 commit comments

Comments
 (0)