Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Update the persistent timestamp even if there are no oplog entries

We use the oplog timestamp recorded in the db as an indicator of
whether our oplog tailers are up to date or not. However, on the rare
occasion when we have a totally idle database, the timestamps don't
get updated.

This change ensures that the timestamp is updated, even when new
entries aren't being written to the oplog. As long as we grab the
timestamp before querying the oplog, if we then query the oplog and
get no results, we know there won't be any entries older than the
current server timestamp.
latest commit 02561924a9
Evan Broder ebroder authored November 10, 2013
Octocat-spinner-32 mongoriver
Octocat-spinner-32 mongoriver.rb
Something went wrong with that request. Please try again.