WriteAcknowledgment

Describes how many nodes must acknowledge this write operation.

For more information, see WriteConcern.

External resources

Inheritors

Types

Link copied to clipboard

Requests acknowledgment that the calculated majority of data-bearing voting members have durably written the change to their local oplog. The members then asynchronously apply changes as they read them from their local oplogs.

Link copied to clipboard
data class Nodes(val count: Int) : WriteAcknowledgment

Requests acknowledgment that the write operation has propagated to the specified number of instances.

Link copied to clipboard
data class Tagged(val tag: String) : WriteAcknowledgment

Requests acknowledgment from members tagged with tag.