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

TTLMonitor does unnecessary work on secondaries

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-11-11, Execution Team 2024-11-25, Execution Team 2024-12-09

      The TTLMonitor has reports metrics for each ttl passess and subpasses. However, the TTLMonitor utilizes replicated deletes, and should only be run when the node is primary.

      However, the TTLMonitor checks late on whether it is primary. At that point, scope guards will auto-increment 'passess' and 'subpassess'.

      This is misleading from an observability perspective - the TTLMonitor appears to be running on secondaries, but doesn't perform any real work.

            Assignee:
            binh.vo@mongodb.com Binh Vo
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: