[CSHARP-1282] Can't get indexes results with the GetIndexes method Created: 15/May/15 Updated: 05/Apr/16 Resolved: 22/May/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Operations |
| Affects Version/s: | 1.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | DaixiShi | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | Bug | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 6.4 |
||
| Attachments: |
|
| Description |
|
I deploy a sharded cluster on CentOS 6.4 with MongoDB 3.0.2 and develop my application with .net 4.5. When I use the GetIndexes method in C# Driver, it returns empty as index1.png shows. When I use this method to a mongos of MongoDB 2.4.10 version, it can correctly return the result as index2.png shows. I check the language compatibility and don't find any problems. |
| Comments |
| Comment by Craig Wilson [ 22/May/15 ] | |
|
Hi tottishi05 I'm closing this ticket as cannot reproduce. If you can provide a sample, please re-open and I'll be happy to investigate further. Thanks, | |
| Comment by Craig Wilson [ 16/May/15 ] | |
|
Yes, I was able to get indexes against MongoDB 3.0.2 on my machine using driver 1.10. If you could run the code in my last message using the mongo shell, that'd would help us see what you have in your system that might be causing problems. Craig | |
| Comment by DaixiShi [ 16/May/15 ] | |
|
Hi Craig Wilson Sorry, my English is a little poor and I cannot exactly understand what your meant. You said that "I reproduce this on my local machine and was unable to". | |
| Comment by Craig Wilson [ 15/May/15 ] | |
|
Hi DaixiShi, I've attempted to reproduce this on my local machine and was unable to. Could you provide the results of getting the indexes from the shell against your 3.0.2 mongos?
Alternatively, you could provide a reproducible console application and instructions. Thanks, |