SERVER-137406ClosedDuplicate

Add if a collection if capped to replication constraint violation logs

There was a known issue on 4.4 before capped collection deletes were replicated where the contents of a collection could diverge. This can lead to false flag replication constraint violation errors when that node eventually becomes primary on a higher version and tries to delete the documents that don't exist on other nodes anymore This can only happen on capped collections, so we should add this diagnostic to the log line if the targeted namespace was capped, since that can make it very easy

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.