Tokutek/mongo — pull request #695 by leifwalsh (2013-11-04 16:13:14+00:00)
Title: changed writeEntryToOplog to not double-count #689

Previously, writeEntryToOplog would record serverStatus statistics on
oplog insertion once when the secondary inserted the op and again when it
applied the op and set the applied bit. Now, we just record stats once
and don't record them a second time when we set the applied bit. This
matches mongodb's expected behavior more closely, and in particular will
make the primary and secondaries count the same number of objects.

fixes #689