[SERVER-65101] Replace transaction and retryable write command allow lists with methods on Command Created: 30/Mar/22 Updated: 29/Oct/23 Resolved: 08/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jack Mulrow | Assignee: | Randolph Tan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, sharding-nyc-subteam1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding NYC 2022-06-13 |
| Participants: | |
| Story Points: | 4 |
| Description |
|
To determine if a command is allowed in a transaction or retryable write, the command's name is looked up in one of a few allow lists. We could replace these with methods on the Command itself, like we have for many other properties, like if a command is admin database only. That way commands with multiple names or aliases wouldn't need multiple entries in the allow lists. |
| Comments |
| Comment by Githook User [ 08/Jun/22 ] |
|
Author: {'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}Message: |
| Comment by Max Hirschhorn [ 11/Apr/22 ] |
|
Acceptance criteria:
|