Reference documentation and code samples for the Cloud Spanner V1 Client class QuorumType.
Indicates the quorum type of this instance configuration.
Protobuf type google.spanner.admin.instance.v1.InstanceConfig.QuorumType
Namespace
Google \ Cloud \ Spanner \ Admin \ Instance \ V1 \ InstanceConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
QUORUM_TYPE_UNSPECIFIED
Value: 0
Quorum type not specified.
Generated from protobuf enum QUORUM_TYPE_UNSPECIFIED = 0;
REGION
Value: 1
An instance configuration tagged with REGION
quorum type forms a write
quorum in a single region.
Generated from protobuf enum REGION = 1;
DUAL_REGION
Value: 2
An instance configuration tagged with the DUAL_REGION
quorum type forms
a write quorum with exactly two read-write regions in a multi-region
configuration.
This instance configuration requires failover in the event of regional failures.
Generated from protobuf enum DUAL_REGION = 2;
MULTI_REGION
Value: 3
An instance configuration tagged with the MULTI_REGION
quorum type
forms a write quorum from replicas that are spread across more than one
region in a multi-region configuration.
Generated from protobuf enum MULTI_REGION = 3;