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

Race condition in ttl_sharded.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.13, 3.4.3, 3.5.4
    • None
    • TTL
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Hide

      Insert a sleep before this line, then run ttl_sharded.js.

      Show
      Insert a sleep before this line , then run ttl_sharded.js.
    • Query 2017-03-06
    • 0

    Description

      In ttl_sharded.js, we wait for the TTL monitor to start deleting documents, then immediately check that all expired documents have been deleted. This can fail if the TTL monitor is still in the process of deleting documents.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: