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

Should be able to compact capped collections with WiredTiger

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.0-rc1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • QuInt B (11/02/15)

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

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

              Created:
              Updated:
              Resolved: