[CSHARP-1158] CollectionExists and Collection Name Lookups fail in 2.8rc4 Created: 06/Jan/15  Updated: 06/Jan/15  Resolved: 06/Jan/15

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.9.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Chad Kreimendahl Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-1145 Support cursor in listCollections and... Closed

 Description   

When performing a db.getCollectionNames() call on the database (in shell), I can see all of the collections. However, when performing it in my tool, or performing CollectionExists, I'm getting empty arrays and falses when I should get a list and trues.

If I know the collection name ahead of time it works fine.



 Comments   
Comment by Craig Wilson [ 06/Jan/15 ]

Server 2.8 has changed how a driver is supposed to get collections and get indexes. This has already been addressed in the 1.10.0 version of the driver. 1.10.0-rc1 is currently available on nuget and on github.

Generated at Wed Feb 07 21:38:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.