Evaluate lock mode for fetching the FCV document

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2025-07-07, Repl 2025-07-21
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      vishnu.kaushik@mongodb.com pointed out in a code review that it seems odd that we take a MODE_IX when we are fetching the FCV document since this operation just seems to be doing a read. We are calling ensureDbExists which does create a database if it does not exist, but I am not sure if that requires a MODE_IX lock. We should evaluate this and see if a less strict locking mode is appropriate here

              Assignee:
              Evelyn Wu
              Reporter:
              Sean Zimmerman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: