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

Increase write concern timeout for refreshing sessions collection to 60 seconds

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • v8.0, v7.0, v6.0
    • Cluster Scalability 2024-09-02

      The write concern timeout for refreshing the sessions collection should be increased to 60 seconds from 15 seconds. This can help mitigate issues where longer replication lags can prevent the sessions collection from refreshing which then causes an accumulation of sessions in memory. I think changing the timeout should be okay because I saw that the value of 15 seconds was arbitrarily chosen a few years ago.

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            wenqin.ye@mongodb.com Wenqin Ye
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: