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

Support Capped Collection Size Increase

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: Backlog
    • Component/s: Storage
    • Labels:
      None
    • Sprint:
      Execution Team 2021-12-13, Execution Team 2021-12-27, Execution Team 2022-01-10, Execution Team 2022-01-24

      Description

      Pre-allocating capped collection sizes is quite hard. Most estimates turn out right; but once in a while, I regret a production-used cap-size. Right now, the only way to increase size of a capped collection is to allocate space on disk by piping zeros, creating a new capped collection, copy elements from src. to dest. and finally, rename dest. to src.

      If there are better ways to do this, please let me know.

      If this becomes a feature in the server; that'd be great.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fausto.leyva Fausto Leyva
              Reporter:
              nadahalli Tejaswi Nadahalli
              Participants:
              Votes:
              64 Vote for this issue
              Watchers:
              46 Start watching this issue

                Dates

                Created:
                Updated: