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

Test seeding secondary without sessions or transactions table

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.15, 4.0.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v3.6
    • Repl 2019-08-26, Repl 2019-09-09
    • 0

      We need to test the following procedure:

      PSS architecture

      (1) Take one secondary out

      (2) Start it as a standalone, set parameter disableLogicalSessionCacheRefresh to true

      (3) Drop config.system.sessions and config.transactions

      (4) Create a new config.system.session collection with the same UUID using applyOps

      (5) Re-add the node to the replica set 

      (6) Trigger a delete of a session that doesn't exist on the modified secondary but does on the primary

      (7) Trigger an update of a session that doesn't exist on the modified secondary but does on the primary

      (8) Trigger an insert of a session 

      (9) Confirm that after some time both the session table and the transactions table will be consistent with the primary. This time should theoretically be localLogicalSessionTimeoutMinutes 

       

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            alyson.cabral@mongodb.com Alyson Cabral (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: