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

Race condition in ttl_sharded.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.13, 3.4.3, 3.5.4
    • Component/s: TTL
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4, v3.2
    • Steps To Reproduce:
      Hide

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

      Show
      Insert a sleep before this line , then run ttl_sharded.js.
    • Sprint:
      Query 2017-03-06
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: