[SERVER-33339] add jstest that documents and verifies whether each command sends a database version Created: 14/Feb/18 Updated: 29/Oct/23 Resolved: 23/Feb/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.3 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Esha Maharishi (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Sharding 2018-02-26 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
This jstest will enumerate all commands and for each, specify (1) whether it is expected to send a dbVersion or not, and if so (2) whether sending the dbVersion has been implemented yet. It will then verify that for commands that are expected to send a dbVersion, if they've been specified as implemented, then the primary shard indeed receives them with a dbVersion, else the primary shard receives them without a dbVersion. This jstest will help track which paths have been implemented (and provide an easy, consistent way to test that a patch to send a dbVersion on a new path is working). |
| Comments |
| Comment by Githook User [ 23/Feb/18 ] |
|
Author: {'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}Message: |