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

Coverity analysis defect 121591: Unchecked return value

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Server Serverless 2022-03-07

      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/serverless/shard_split_donor_service.cpp:218: CHECKED_RETURN 121591 Calling "runCommand" without checking return value (as is done elsewhere 99 out of 162 times).

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: