[SERVER-71847] write js test for config.system.sessions upserts in a replica set. Created: 05/Dec/22 Updated: 29/Oct/23 Resolved: 17/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Shin Yee Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2023-02-20, Execution Team 2023-02-06, Execution Team 2023-03-06 |
| Participants: |
| Description |
|
The config.system.sessions collection is synced with the in-memory cache periodically. Defunct sessions are removed using multi-deletes (mutliple deletes in a single oplog entry) but new/updated records are still replicated individually. The goal of this ticket is to better understand this replicated behavior with a js test in the jstests/noPassthrough directory. This will facilitate improvements to the upsert logic used in the session management code. |
| Comments |
| Comment by Githook User [ 17/Feb/23 ] |
|
Author: {'name': 'Shin Yee Tan', 'email': 'shinyee.tan@mongodb.com', 'username': 'shinyeet'}Message: |