SERVER-108361ClosedFixed

Improve logging of secondary replication constraint violation due to capped collections

Due to capped collections performing their own deletes on different nodes in a replica set asynchronously before 5.0, data can diverge and later operations might "violate" replication constraints for inserts, updates, and deletes. We log these violations for [inserts|https://github.com/10gen/mongo/blob/r6.0.20/src/mongo/db/repl/oplog.cpp#L1524-L1540] and [delete|https://github.com/10gen/mongo/blob/r6.0.20/src/mongo/db/repl/oplog.cpp#L1929-L1939], but we skip it for [updates|https://github.com/10

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
repl-shortlist