Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7030

Repeated updates cause unbounded growth of WT file

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A MongoDB workload that inserts one document in a database and then repeatedly updates the document causes the collection file in WiredTiger to grow in proportion to the number of updates.

      I can only reproduce this in replica sets.  When running against a single mongod, the collection file doesn't grow past a few dozen KB.

      I am attaching simple.sh and simple.js which reproduce the problem.

        1. simple.js
          0.3 kB
        2. simple.sh
          0.8 kB

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            keith.smith@mongodb.com Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: