You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by dd...@apache.org on 2015/04/29 09:10:43 UTC

hbase git commit: HBASE-13184 Document turning off memstore for region replicas (Misty Stanley-Jones)

Repository: hbase
Updated Branches:
  refs/heads/master b27e9e70b -> 85ac00ba9


HBASE-13184 Document turning off memstore for region replicas (Misty Stanley-Jones)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/85ac00ba
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/85ac00ba
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/85ac00ba

Branch: refs/heads/master
Commit: 85ac00ba9f90e570d59ec83c31e0b526be0155dd
Parents: b27e9e7
Author: Devaraj Das <dd...@apache.org>
Authored: Wed Apr 29 00:10:37 2015 -0700
Committer: Devaraj Das <dd...@apache.org>
Committed: Wed Apr 29 00:10:37 2015 -0700

----------------------------------------------------------------------
 src/main/asciidoc/_chapters/architecture.adoc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/85ac00ba/src/main/asciidoc/_chapters/architecture.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/architecture.adoc b/src/main/asciidoc/_chapters/architecture.adoc
index 0236d81..659c4ee 100644
--- a/src/main/asciidoc/_chapters/architecture.adoc
+++ b/src/main/asciidoc/_chapters/architecture.adoc
@@ -2327,6 +2327,20 @@ Instead you can change the number of region replicas per table to increase or de
     The period (in milliseconds) for refreshing the store files for the secondary regions. 0 means this feature is disabled. Secondary regions sees new files (from flushes and compactions) from primary once the secondary region refreshes the list of files in the region. But too frequent refreshes might cause extra Namenode pressure. If the files cannot be refreshed for longer than HFile TTL (hbase.master.hfilecleaner.ttl) the requests are rejected. Configuring HFile TTL to a larger value is also recommended with this setting.
   </description>
 </property>
+<property>
+  <name>hbase.region.replica.replication.memstore.enabled</name>
+  <value>true</value>
+  <description>
+    If you set this to `false`, replicas do not receive memstore updates from
+    the primary RegionServer. If you set this to `true`, you can still disable
+    memstore replication on a per-table basis, by setting the table's
+    `REGION_MEMSTORE_REPLICATION` configuration property to `false`. If
+    memstore replication is disabled, the secondaries will only receive
+    updates for events like flushes and bulkloads, and will not have access to
+    data which the primary has not yet flushed. This preserves the guarantee
+    of row-level consistency, even when the read requests `Consistency.TIMELINE`.
+  </description>
+</property>
 ----
 
 One thing to keep in mind also is that, region replica placement policy is only enforced by the `StochasticLoadBalancer` which is the default balancer.