SERVER-137858Open

Direct client inserts into local.oplog.rs invisible to oplog scans until restart — intentional in 9.0?

On mongod 9.0.4+ (bracket tested: clean on 8.3.13), acknowledged client inserts into a manually-created capped {{local.oplog.rs}} on a standalone node are persisted (unfiltered metadata count reflects them) but no scan returns them — {{find()}} / {{countDocuments}} / {{$natural}} all return 0 — until the mongod restarts. Restart rebuilds visibility and all entries appear. Looks like oplog visibility (OplogVisibilityManager, SERVER-106810 project area) is now advanced only through the replication

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
Replication
Labels
Tags and classification
repl-shortlist