[SERVER-54204] [causal consistency] Load external validation keys with local read concern Created: 02/Feb/21 Updated: 29/Oct/23 Resolved: 16/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | Jack Mulrow |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1791_alpha2, pm-1791_milestone-F | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2021-02-22 |
| Participants: |
| Description |
|
Currently keys from admin.system.extra_validation_keys ("external keys") are read with majority read concern to match the read used to find keys inĀ admin.system.keys ("internal keys"). Internal keys are used to sign outgoing requests so a key that may roll back should not be read. External keys are only used to validate incoming requests, so it is safe for a rolled back key to be read. It just won't be used until eventually it is reaped. |
| Comments |
| Comment by Githook User [ 06/Feb/21 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: |