title: The difference between "majority" and "linearizable"
body: <p>Read the docs a few times but still cannot understand the difference in the behavior of &quot;majority&quot; and &quot;linearizable&quot; <a href="https://docs.mongodb.com/manual/reference/read-concern/" rel="noreferrer">read concerns</a>:</p>
  <blockquote>
  <p><code>&quot;majority&quot;</code><br />
  The query returns the instance’s most recent data acknowledged as having been written to a majority of members in the replica set.</p>
  <p><code>&quot;linearizable&quot;</code><br />
  The query returns data that reflects all successful writes issued with a write concern of &quot;majority&quot; and acknowledged prior to the start of the read operation.</p>
  </blockquote>
  <p>The docs also mention an option &quot;writeConcernMajorityJournalDefault&quot;, it says that with that option set to false the data can be rolled back even when using &quot;linearizable&quot;.</p>
  <p>Could someone explain please, how both concerns work and how this option impacts them?</p>