Enum CatalogReplicaMode

java.lang.Object
java.lang.Enum<CatalogReplicaMode>
org.apache.hadoop.hbase.CatalogReplicaMode
All Implemented Interfaces:
Serializable, Comparable<CatalogReplicaMode>

@Private public enum CatalogReplicaMode extends Enum<CatalogReplicaMode>

There are two modes with catalog replica support.

  1. HEDGED_READ - Client sends requests to the primary region first, within a configured amount of time, if there is no response coming back, client sends requests to all replica regions and takes the first response.
  2. LOAD_BALANCE - Client sends requests to replica regions in a round-robin mode, if results from replica regions are stale, next time, client sends requests for these stale locations to the primary region. In this mode, scan requests are load balanced across all replica regions.