Currently MongoProperties allow only single host to be set in the MongoProperties. With this commit a set of 'additional hosts' can be set along with the base host/port.

This closes #32113

Comment From: thegeekyasian

Hi @snicoll / @philwebb, can you please review this PR to support additional hosts, based on the discussion here.

Comment From: thegeekyasian

Thanks @thegeekyasian, I've added a few review comments for you to consider.

Thanks for the feedback @philwebb, agreed upon the points mentioned and the suggested changes have been done.

Ready for a review

Comment From: philwebb

Thanks for the updates @thegeekyasian. This has now been merged to main and will be part of the 3.0 release.