From f51e57908f8a75fd0a810d33668596a3332ff30a Mon Sep 17 00:00:00 2001 From: chenglei Date: Fri, 1 Apr 2022 14:08:19 +0800 Subject: [PATCH] HBASE-26811 (addendum)Secondary replica may be disabled for read incorrectly forever (#4311) --- .../hbase/regionserver/TestRegionReplicaWaitForPrimaryFlushConf.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionReplicaWaitForPrimaryFlushConf.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionReplicaWaitForPrimaryFlushConf.java index efbd73aed4..5c3f259a64 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionReplicaWaitForPrimaryFlushConf.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionReplicaWaitForPrimaryFlushConf.java @@ -77,10 +77,11 @@ public class TestRegionReplicaWaitForPrimaryFlushConf { } /** - * This test is for HBASE-26811,when + * This test is for HBASE-26811,before HBASE-26811,when * {@link ServerRegionReplicaUtil#REGION_REPLICA_WAIT_FOR_PRIMARY_FLUSH_CONF_KEY} is false and set * {@link TableDescriptorBuilder#setRegionMemStoreReplication} to true explicitly,the secondary - * replica would be disabled for read after open. + * replica would be disabled for read after open,after HBASE-26811,the secondary replica would be + * enabled for read after open. */ @Test public void testSecondaryReplicaReadEnabled() throws Exception { -- 2.11.4.GIT