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

Coverity analysis defect 116101: Unchecked return value

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

      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:102: CHECKED_RETURN 116101 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: