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

delete limited expired docs in every TTL period

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Do
    • Affects Version/s: Needs Further Definition
    • Fix Version/s: None
    • Component/s: TTL
    • Labels:
      None
    • Sprint:
      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

          Issue Links

            Activity

              People

              Assignee:
              ethan.zhang Ethan Zhang
              Reporter:
              pengzhenyi pengzhenyi
              Participants:
              Votes:
              5 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: