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

GetTotalStorageSize and GetTotalDataSize exception in MongoCollection with WiredTiger

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 1.10
    • Error Handling
    • None
    • 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:

      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." })

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: