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

delete limited expired docs in every TTL period

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

      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.

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

              Created:
              Updated:
              Resolved: