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

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

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

      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:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: