Module: Google::Cloud::Redis::Cluster::V1beta1::CrossClusterReplicationConfig::ClusterRole
- Defined in:
- proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb
Overview
The role of the cluster in cross cluster replication.
Constant Summary collapse
- CLUSTER_ROLE_UNSPECIFIED =
Cluster role is not set. The behavior is equivalent to NONE.
0
- NONE =
This cluster does not participate in cross cluster replication. It is an independent cluster and does not replicate to or from any other clusters.
1
- PRIMARY =
A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters.
2
- SECONDARY =
A cluster that allows only reads and replicates data from a primary cluster.
3