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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4.19, 5.0.15, 6.3.0-rc0, 6.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: