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