-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.0.22, 6.4.7, 7.0.0alpha7
-
None
-
1
OplogStatsHandler checks replica set, then master slave timestamps, returning master slave timestamps only if replica set returned no documents. that is the intended behaviour at least.
the actiual behaviour is that only replica set is returned and if no documents error is encountered when retrieving it is returned.
Update oplog handler to check against mongo.ErrNoDocuments. Fix unit tests. Keep in mind that zbxerr wrap approach is broken.