Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
ALL
-
v4.4
-
21
Description
If we use coll.find().toArray()[0] instead of just coll.find()[0] then we will be able to catch the CappedPositionLost error as expected in getFirstOplogEntry().
(This doesn't solve the direct cause of the bug in the linked ticket, but it will avoid the bug in the future.)
Attachments
Issue Links
- related to
-
SERVER-55162 Retry getting 'firstOplogEntry' in oplog_rollover_agg.js
-
- Closed
-