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

Documents deleted before TTL index background build completes

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None
    • ALL
    • Hide
      1. add a TTL index built in the background on a collection with existing data
      2. wait for the index build to begin
      3. wait for documents to begin being deleted
      4. check that the index is still being built

      The attached script reproduces the issue

      Show
      add a TTL index built in the background on a collection with existing data wait for the index build to begin wait for documents to begin being deleted check that the index is still being built The attached script reproduces the issue

      When building a TTL index in the background on an existing collection, documents are deleted before the index build finishes, increasing the load on the host server.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            norman.graham@mongodb.com Norman Graham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: