[CSHARP-1164] GetTotalStorageSize and GetTotalDataSize exception in MongoCollection with WiredTiger Created: 15/Jan/15 Updated: 16/Jan/15 Resolved: 15/Jan/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Error Handling |
| Affects Version/s: | 1.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Chad Kreimendahl | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
windows 8.1 .net 4.5.2 1.10-rc1 |
||
| Description |
|
This appears to just be an issue with the command sent being changed or removed between 2.6 and 2.8... i hope:
|
| Comments |
| Comment by Chad Kreimendahl [ 16/Jan/15 ] |
|
Seems reasonable. I'm guessing the go-to is to just runcommand on db.collection.stats() and build our own object around it? Any chance since it's a straight call on collections we could get a .GetStats() or something that casts to a MongoCollectionStats? If not, no biggie, as there's really only a few items in there we care about, and can ignore the rest. |
| Comment by Craig Wilson [ 15/Jan/15 ] |
|
We just obsoleted these here: https://github.com/mongodb/mongo-csharp-driver/commit/432d8c3346f76381ebecc156f67b7e25bdbf384d and won't be fixing them. These really don't belong in a driver as they are very much more administrative, which isn't a prime target for drivers. |