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

Skip RSTL lock acquisition in TimestampMonitor calls

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0, 7.0.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v7.1, v7.0
    • Execution EMEA Team 2023-10-02
    • 128

      The TimestampMonitor currently drops idents after the oldest timestamp has advanced. To do so it acquires the global lock + the default hierarchy. This includes the RSTL.

      In some situations, the ident drop operation can take a while, blocking stepdown since it requires the RSTL in MODE_X.

      As the operation does not require the RSTL we should explore skipping its acquisition since it will unnecessarily be blocking stepdown.

            Assignee:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: