-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.4
-
Component/s: Diagnostics
-
Labels:None
-
Windows
-
The combination mongo-java-driver-2.13.2 & MongoDB server 3.0.2/3.0.4 causes the dbStats command to fail:
com.mongodb.CommandFailureException:
{ "serverUsed" : "127.0.0.1:27017" , "errmsg" : "exception: need a valid database name" , "code" : 28539 , "ok" : 0.0}END
The same code works for a MongoDB 2.x server using the same driver.