Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical - P2
-
None
-
3.2.0
-
None
-
Server: Ubuntu 14.04 with MongoDB 3.2
Client: Mac OS X 10.9 with Java Driver version 3.2 (Java 8)
Description
Called "db.createCollection(COLLECTION_LOGS, options)" throws "CommandFailureException" because COLLECTION_LOGS already exists.
In the Exception handler the call to "collectionExists" returns false, but the collection really exists:
// Double check
if (!db.collectionExists(COLLECTION_LOGS))