Skip to content

Commit 267b2ed

Browse files
authored
HBASE-26940 Update the doc for read replica configuration (#4332)
1 parent 2622fa0 commit 267b2ed

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

src/main/asciidoc/_chapters/architecture.adoc

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3011,20 +3011,6 @@ Instead you can change the number of region replicas per table to increase or de
30113011
Whether asynchronous WAL replication to the secondary region replicas is enabled or not. If this is enabled, a replication peer named "region_replica_replication" will be created which will tail the logs and replicate the mutations to region replicas for tables that have region replication > 1. If this is enabled once, disabling this replication also requires disabling the replication peer using shell or Admin java class. Replication to secondary region replicas works over standard inter-cluster replication.
30123012
</description>
30133013
</property>
3014-
<property>
3015-
<name>hbase.region.replica.replication.memstore.enabled</name>
3016-
<value>true</value>
3017-
<description>
3018-
If you set this to `false`, replicas do not receive memstore updates from
3019-
the primary RegionServer. If you set this to `true`, you can still disable
3020-
memstore replication on a per-table basis, by setting the table's
3021-
`REGION_MEMSTORE_REPLICATION` configuration property to `false`. If
3022-
memstore replication is disabled, the secondaries will only receive
3023-
updates for events like flushes and bulkloads, and will not have access to
3024-
data which the primary has not yet flushed. This preserves the guarantee
3025-
of row-level consistency, even when the read requests `Consistency.TIMELINE`.
3026-
</description>
3027-
</property>
30283014

30293015
<property>
30303016
<name>hbase.master.hfilecleaner.ttl</name>
@@ -3045,7 +3031,7 @@ Instead you can change the number of region replicas per table to increase or de
30453031
<name>hbase.region.replica.wait.for.primary.flush</name>
30463032
<value>true</value>
30473033
<description>
3048-
Whether to wait for observing a full flush cycle from the primary before start serving data in a secondary. Disabling this might cause the secondary region replicas to go back in time for reads between region movements.
3034+
Whether to wait for observing a full flush cycle from the primary before start serving data in a secondary. Disabling this might cause the secondary region replicas to go back in time for reads between region movements.Please note that if you set per-table property `REGION_MEMSTORE_REPLICATION` to false,`hbase.region.replica.wait.for.primary.flush` will be ignored.
30493035
</description>
30503036
</property>
30513037
----
@@ -3111,6 +3097,9 @@ Region replication is a per-table property.
31113097
All tables have `REGION_REPLICATION = 1` by default, which means that there is only one replica per region.
31123098
You can set and change the number of replicas per region of a table by supplying the `REGION_REPLICATION` property in the table descriptor.
31133099
3100+
There is another per-table property `REGION_MEMSTORE_REPLICATION`.All tables have `REGION_MEMSTORE_REPLICATION = true`
3101+
by default, which means the new data written to the primary region should be replicated. If you set this to `false`, replicas do not receive memstore updates from the primary RegionServer,they will only receive updates for events like flushes and bulkloads, and will not have access to data which the primary has not yet flushed. Please note that if you set `REGION_MEMSTORE_REPLICATION` to false,`hbase.region.replica.wait.for.primary.flush` will be ignored.
3102+
31143103
31153104
==== Shell
31163105

0 commit comments

Comments
 (0)