|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The parameter settings for the high-availability feature. |
||
| writeHa |
boolean |
Specifies whether to enable the write high-availability feature. Valid values:
|
true |
| autoGeneratePk |
boolean |
Specifies whether to automatically generate a document hash primary key when no primary key exists. Valid values:
Important autoGeneratePk cannot be modified independently. The autoGeneratePk setting takes effect only when writeHa is changed from false to true.
|
true |
| writePolicy |
string |
Temporarily switches between synchronous and asynchronous high availability. Valid values:
Note
This field takes effect only when high availability is enabled, that is, writeHa is set to true. You do not need to pass in the writeHa field when setting this field. |
sync |
ReadWritePolicy
Updated at:
Is this page helpful?