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

Support Resizing Capped Collections

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 6.0.0-rc0
    • Affects Version/s: 1.7.0
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24, Execution Team 2022-02-07, Execution Team 2022-02-21, Execution Team 2022-03-07

      Allow users to resize capped collections using the 'collMod' command. Create two new parameters for 'collMod' to either increase or decrease the size and/or the document limit of a capped collection.  

      Example resize command: 

      {collMod: "cappedCollection", cappedSize: maxSize, cappedMax: maxDocs}

      This operation may only be performed when the featureCompatibilityVersion is set to at least 6.0.

            Assignee:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Reporter:
            nadahalli Tejaswi Nadahalli
            Votes:
            64 Vote for this issue
            Watchers:
            47 Start watching this issue

              Created:
              Updated:
              Resolved: