Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8986

Should be able to compact capped collections with WiredTiger

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: Server
    • Labels:
      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:
            kevin.adistambha@mongodb.com Kevin Adistambha
            Reporter:
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              6 years, 14 weeks, 6 days ago