Opcounters to detect constraint violations need to be exposed.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0, 5.0.6, 5.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • Replication 2021-11-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We created opCounters to detect constraint violations during steady state replication, but they are not exported by the OpCounter getObj() class. They need to be exported.

      https://github.com/10gen/mongo/blob/79c05e5b6c93e32d26dc9baf927ab58bc198d012/src/mongo/db/stats/counters.cpp#L68

              Assignee:
              Judah Schvimer
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: