GetTotalStorageSize and GetTotalDataSize exception in MongoCollection with WiredTiger

XMLWordPrintableJSON

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

      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
              Reporter:
              Chad Kreimendahl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: