write js test for config.system.sessions upserts in a replica set.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-02-20, Execution Team 2023-02-06, Execution Team 2023-03-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The config.system.sessions collection is synced with the in-memory cache periodically. Defunct sessions are removed using multi-deletes (mutliple deletes in a single oplog entry) but new/updated records are still replicated individually.

      The goal of this ticket is to better understand this replicated behavior with a js test in the jstests/noPassthrough directory. This will facilitate improvements to the upsert logic used in the session management code.

            Assignee:
            Shin Yee Tan
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: