SERVER-138719ClosedGone away

Standby counts a prepared transaction's size and count twice when it also records the commit entry

h2. Problem The fix for the companion hash ticket makes the standby record a prepared transaction's size and count from its {{commitTransaction}} entry, as the primary does. With that alone, the standby still counts the transaction's operations as well, so it fasserts with 13626005 at roughly double the primary's size and count: h2. Cause Per-operation deltas are not recorded when the operation is applied. They are recorded by on-commit handlers that {{src/mongo/db/repl/oplog.cpp}} regi

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

No components specified.

Labels
Tags and classification

No labels assigned.