Help Center/ Document Database Service/ FAQs/ Database Parameters/ Does DDS Support Majority Read Concern?
Updated on 2022-06-02 GMT+08:00

Does DDS Support Majority Read Concern?

Write concern and read concern respectively specify the write and read policies for MongoDB.

If read concern is set to majority, data read by users has been written to a majority of nodes and will not be rolled back to avoid dirty reads.

DDS does not support majority read concern.

To meet this requirement, set write concern to majority. In this way, data is written to a majority of nodes, ensuring data consistency. Then, by reading data from a single node, it can be ensured that data read by the user can be written to a majority of nodes, and such data is not rolled back to avoid dirty read.