-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Repl 2021-07-12, Repl 2021-07-26
getLastError() is deprecated and will start returning an error some time soon. From discussion with lingzhi.deng:
The tests rely on getLastError's lastOp to test causal consistency and write concern waiting. Rewriting the test could be tricky but it may look like
https://github.com/mongodb/mongo/blob/cda611689a3f956c7f791d2e7de9440f173f4df...
but fails the applyOps preCondition.
As part of https://jira.mongodb.org/browse/SERVER-57456 the tests will be disabled.