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

Coverity analysis defect 121399: Unchecked return value

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL
    • Sharding EMEA 2022-02-07

    Description

      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/s/balancer/balancer_defragmentation_policy_impl.cpp:1447: CHECKED_RETURN 121399 Calling "_refreshDefragmentationPhaseFor" without checking return value (as is done elsewhere 1 out of 2 times).

      Attachments

        Activity

          People

            tommaso.tocci@mongodb.com Tommaso Tocci
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: