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

Test seeding secondary without sessions or transactions table

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.15, 4.0.13
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6
    • Sprint:
      Repl 2019-08-26, Repl 2019-09-09
    • Case:
    • Linked BF Score:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: