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

Race condition in ttl_sharded.js

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.13, 3.4.3, 3.5.4
    • Affects Version/s: None
    • Component/s: 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

      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.

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

              Created:
              Updated:
              Resolved: