|
Hi,
I believe this has been implemented by SERVER-35212 for mongo shell. It might be worthwhile to link this ticket to that ticket to avoid confusion.
When I noticed this behaviour change with MongoDB 4.0.6, I searched in JIRA using the keyword authenticationDatabase but only to find this ticket which made me think the default authentication database is still test. Although technically it is still true, but from a mongo shell user's perspective, the default authentication database appears to be admin. That confused me until I checked the git history and found SERVER-35212. Therefore, I'd suggest linking this ticket to SERVER-35212 so that those who look at this ticket know the default authentication database has changed to admin for mongo shell.
Regards,
Lungang
|