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

Only print error message if there were in fact errors in getHostFQDNs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.4.19, 5.0.15, 6.3.0-rc0, 6.0.5
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      Change getHostFQDNs() function to 1) not call getNameInfoErrors.push_back() with blanks, and 2) debug print the results vector so we can actually see what we are returning. This way we won't print error message when there was no error, ex.:

      {"t":\{"$date":"2023-01-16T15:43:17.618+00:00"},"s":"D3", "c":"NETWORK",  "id":23171,   "ctx":"conn63","msg":"Failed to obtain name info","attr":{"errors":["","","","","",""]}}
      

      This came from HELP-40780 where client is seeing the above error line even though there is are no actual errors.

      Attachments

        Activity

          People

            adi.zaimi@mongodb.com Adi Zaimi
            adi.zaimi@mongodb.com Adi Zaimi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: