Checks whether the session consistency level of the endpoint of each PolarDB cluster is set to a specified value. If so, the evaluation result is Compliant.

Scenarios

A PolarDB cluster of a higher consistency level provides lower performance. You can select an appropriate consistency level based on your business requirements.

Risk level

Default risk level: medium.

When you configure this rule, you can change the risk level based on your business requirements.

Compliance evaluation logic

  • If the session consistency level of the endpoint of each PolarDB cluster is set to a specified value, the evaluation result is Compliant.
  • If the session consistency level of the endpoint of a PolarDB cluster is not set to a specified value, the evaluation result is Incompliant. For more information about how to remediate an incompliant configuration, see Incompliance remediation.

Rule details

ItemDescription
Rule namepolardb-cluster-address-consist-level-check
Rule identifierpolardb-cluster-address-consist-level-check
TagPolarDB
Automatic remediationNot supported
Trigger typePeriodic execution
Evaluation frequencyInterval of 24 hours
Supported resource typePolarDB clusters
Input parameterConsistLevel
Valid values:
  • 0: eventual consistency.
  • 1: session consistency. This is the default value.
  • 2: global consistency.

Incompliance remediation

Set the session consistency level of the endpoint of a PolarDB cluster to a specified value. For more information, see Configure PolarProxy.