Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1164

GetTotalStorageSize and GetTotalDataSize exception in MongoCollection with WiredTiger

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.10
    • Component/s: Error Handling
    • None
    • Environment:
      windows 8.1 .net 4.5.2 1.10-rc1

      This appears to just be an issue with the command sent being changed or removed between 2.6 and 2.8... i hope:

      var collection = <Some MongoCollection>;
      collection.GetTotalStorageSize();
      
      An unhandled exception of type 'MongoDB.Driver.MongoCommandException' occurred in MongoDB.Driver.dll
      
      Additional information: Command 'collstats' failed: Collection [DB1.Coll1_Versions.$_id_] not found. (response: { "ok" : 0.0, "errmsg" : "Collection [DB1.Coll1_Versions.$_id_] not found." })
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            sallgeud Chad Kreimendahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: