-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Configuration
-
None
-
(copied to CRM)
-
Minor Change
-
Needed
When presented with a mongodb+srv-schemed connection string, the driver looks up in DNS any TXT records associated with the host. If none are found, the driver correctly does not throw an exception. However, if the DNS server returns an NXDomain error (error code 3, "Non-Existent Domain), JNDI throws a java.naming.NameNotFoundException, the driver catches it, and throws a com.mongodb.MongoConfigurationException.
The expected behavior is that NXDomain errors are also ignored.
- mentioned in
-
Page Loading...