[SERVER-42706] Test seeding secondary without sessions or transactions table Created: 08/Aug/19  Updated: 29/Oct/23  Resolved: 06/Sep/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.15, 4.0.13

Type: Task Priority: Major - P3
Reporter: Alyson Cabral (Inactive) Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Related
related to SERVER-42326 Test restoring a 4.0 backup into a 4.... Closed
is related to SERVER-43045 dbhash does not hash all replicated c... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Repl 2019-08-26, Repl 2019-09-09
Participants:
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 

 



 Comments   
Comment by Judah Schvimer [ 09/Sep/19 ]

Note that in the 3.6 version of the test, there is a small workaround for pv0 to seed the oplog without a term. This is general to seeding an oplog and not specific to not having a sessions or transactions table, so I don't think this is a significant change.

Comment by Githook User [ 09/Sep/19 ]

Author:

{'username': 'judahschvimer', 'email': 'judah.schvimer@10gen.com', 'name': 'Judah Schvimer'}

Message: SERVER-42706 Test seeding secondary without sessions or transactions table

(cherry picked from commit 295529a5de65dc45327dfe07f489b252445dcb95)
Branch: v3.6
https://github.com/mongodb/mongo/commit/4765d68aafd351364163365d25ee5cfe6600e356

Comment by Githook User [ 06/Sep/19 ]

Author:

{'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah.schvimer@10gen.com'}

Message: SERVER-42706 Test seeding secondary without sessions or transactions table
Branch: v4.0
https://github.com/mongodb/mongo/commit/295529a5de65dc45327dfe07f489b252445dcb95

Generated at Thu Feb 08 05:01:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.