I have a need to use mongo in multiple threads. How can I achieve that? I use mongoDb 4.2.9 and Spring Framework.
To do that I set read concern level to linearizable and write concern level to Majority. With these settings I get an error from server: "Query failed with error code 72 and error message ''The readConcern level must be either ‘local’ or ‘majority’ in order to upconvert the readConcern level to ‘snapshot’ on server x.x.x.x:27017 ".
Is it possible to use Linearizable read concern level?