Test seeding secondary without sessions or transactions table

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Alyson Cabral (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: