-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Critical - P2
-
None
-
Affects Version/s: 3.2.0
-
Component/s: Query Operations
-
None
-
Environment:Server: Ubuntu 14.04 with MongoDB 3.2
Client: Mac OS X 10.9 with Java Driver version 3.2 (Java 8)
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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))