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

delete limited expired docs in every TTL period

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • Needs Further Definition
    • TTL
    • None
    • Query Execution 2021-07-26, QE 2021-08-09, QE 2021-08-23

    Description

      TTL monitor delete all the expired docs every 60 seconds.
      Sometimes a few expired docs exist in one TTL monitor period, and lots of expired docs in the next TTL monitor period. Then a big performance degration happens as too many delete requests appears in a short time.

      If 'ttlDeleteBatch' is supported, we can delete a limited number of docs in one period which is under control, then no performance degration will happen.

      Attachments

        Activity

          People

            ethan.zhang@mongodb.com Ethan Zhang (Inactive)
            pengzhenyi peng zhenyi
            Votes:
            5 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: