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

Change capped collection age-out to be based on collection storageSize, not dataSize

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication, Storage
    • None
    • Storage Execution
    • ALL

      Due to SERVER-35431, the dataSize reported for a collection can be incorrect in 4.0, even without unclean crashes. We should switch capped collection sizes to be based on the storageSize, not the dataSize, so that the calculations can be accurate. We also believe this is more likely to be what users actually want when they configure a capped collection anyway, as they are generally trying to limit the disk space consumed by the collection.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: