Should be able to compact capped collections with WiredTiger

XMLWordPrintableJSON

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

      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 Stearn
            Reporter:
            Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: