-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v4.4
-
21
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.)
- related to
-
SERVER-55162 Retry getting 'firstOplogEntry' in oplog_rollover_agg.js
- Closed