Write Concern
Noun · Development
Definitions
A MongoDB setting that specifies the level of acknowledgment requested from the database for write operations — ranging from w:0 (fire and forget), w:1 (acknowledged by the primary), to w:"majority" (acknowledged by a majority of replica set members) — trading write latency for durability guarantees.
In plain English: A MongoDB setting that controls how many database servers must confirm they saved your data before the write is considered successful.
Example: "We bumped the write concern to majority after we lost a document during a primary failover — w:1 wasn't safe enough for payment records."