Write Concern

Key Name Default Value Required

WriteConcern

1

No

Description

The total number of primary and secondary servers that must acknowledge a write operation in order for the connector to report a successful write operation.

When this option is set to 0, the connector does not require write operations to be acknowledged.

Important:

Important:

  • If you set this option to a value that is greater than 1, make sure to also specify an appropriate value for the Timeout setting or the WriteConcernTimeout key. Setting this option to a value greater than 1 without specifying a timeout interval may cause the connector to wait indefinitely for replica set members to come online.
  • The process for acknowledging a write operation typically takes four times longer than an INSERT or UPDATE operation, but it is necessary if fault tolerance is important.