[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: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Backport Requested: |
v3.6
|
||||||||||||||||||||||||
| Sprint: | Repl 2019-08-26, Repl 2019-09-09 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||
| 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: (cherry picked from commit 295529a5de65dc45327dfe07f489b252445dcb95) |
| Comment by Githook User [ 06/Sep/19 ] |
|
Author: {'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah.schvimer@10gen.com'}Message: |