ClusterServerParameterRefresher can leave an open transaction on the CSRS after mongos shutdown.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2024-08-19, CAR Team 2024-09-02
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This is usually not problematic since the reaper should kill it but if the reaper timeout is high this could cause other operations waiting on conflicting locks to wait on lock acquisition.

      See this comment for more details. 

      Either mongos can retry and make more of a best effort to abort transactions at shutdown or ClusterServerParameterRefresher can do it's work outside of a transaction as suggested.

       

            Assignee:
            Marcos José Grillo Ramirez
            Reporter:
            Kshitij Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: