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

Support Resizing Capped Collections

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 6.0.0-rc0
    • 1.7.0
    • Storage
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: