Coverity analysis defect 176973: Side effect in assertion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Side effect in assertion

      If the assertion is turned off, the side-effect may be lost. Assertion contains an operation with a side effect
      /src/mongo/db/exec/agg/change_stream_handle_topology_change_v2_stage.cpp:1131: ASSERT_SIDE_EFFECT 176973 Argument "++this->_shardNotFoundFailuresInARow" of tassert() has a side effect. The containing function might work differently in a non-debug build.

            Assignee:
            Niels Lohmann
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: