diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java index f8eca6cc1c2..17e7a53c6ec 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java @@ -189,7 +189,7 @@ public class RegionReplicaReplicationEndpoint extends HBaseReplicationEndpoint { // later it is changed to multiple replicas. The cached location for meta may only has // the primary region. In this case, it needs to clean up and refresh the cached meta // locations. - if (tableDesc.isMergeEnabled()) { + if (tableDesc.isMetaTable()) { connection.getRegionLocator(tableDesc.getTableName()).clearRegionLocationCache(); } future.complete(Long.valueOf(entries.size()));