Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-16962

Should be able to compact capped collections with WiredTiger

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.2.0-rc1
    • None
    • Storage
    • Fully Compatible
    • QuInt B (11/02/15)

    Description

      We're checking for whether a collection can be compacted at the wrong level, as with WiredTiger, you can easily call compact

      > db.oplog.rs.runCommand('compact', {force:true})
      { "ok" : 0, "errmsg" : "cannot compact a capped collection" }
      

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: