Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50129

Coverity analysis defect 116098: Unchecked return value

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • ALL
    • Sharding 2020-08-24

      Unchecked return value

      If the function returns an error value, the error value may be mistaken for a normal value. Value returned from a function is not checked for errors before being used
      /src/mongo/db/repl/tenant_migration_access_blocker.cpp:81: CHECKED_RETURN 116098 Calling "shouldFail" without checking return value (as is done elsewhere 298 out of 302 times).

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: