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

Test seeding secondary without sessions or transactions table

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.15, 4.0.13
    • None
    • None
    • Fully Compatible
    • v3.6
    • Repl 2019-08-26, Repl 2019-09-09
    • 0

    Description

      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 

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: