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

Documents deleted before TTL index background build completes

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • None
    • Index Maintenance
    • 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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: