FireAndForget

Requests are not acknowledged.

The MongoDB server will acknowledge having received the request, but will not communicate further, no matter what happens.

Use this write concern for requests where the result's loss is acceptable. For example, when storing high-volume sensor data, it may be acceptable if some measurements are lost when the cluster is overloaded.

Example

collections.updateMany(
options = {
writeConcern(WriteConcern.FireAndForget)
}
) {
User::age inc 1
}

See also

Specify this option.