[SERVER-33429] add database versioning test cases for commands not tracked by the profiler Created: 21/Feb/18 Updated: 29/Oct/23 Resolved: 11/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Esha Maharishi (Inactive) | Assignee: | Janna Golden |
| 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-04-09, Sharding 2018-04-23 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
The jstest created in
These commands should be tested separately, since they cannot be tested by using the profiler. Additionally,
should be tested separately, since they are batched and the profiler only captures individual updates/deletes within the batch, so it loses any fields on the outer command. |
| Comments |
| Comment by Githook User [ 11/Apr/18 ] |
|
Author: {'email': 'golden.janna@gmail.com', 'name': 'jannaerin', 'username': 'jannaerin'}Message: |
| Comment by Githook User [ 09/Apr/18 ] |
|
Author: {'email': 'william.schultz@mongodb.com', 'name': 'William Schultz', 'username': 'will62794'}Message: Revert " This reverts commit 56f3d3dc9cc88edc46e4e0cf150462ba9f554fe7. |
| Comment by Githook User [ 07/Apr/18 ] |
|
Author: {'email': 'blake.oler@mongodb.com', 'name': 'Blake Oler', 'username': 'BlakeIsBlake'}Message: |
| Comment by Esha Maharishi (Inactive) [ 05/Apr/18 ] |
|
Since SERVER-33499 may not be completed in time for 4.0, and the jstest now check that these commands check the databaseVersion a second way (by checking that the command worked and, after the command ran, the shard's cached databaseVersion was updated), we should be able to just add test cases for these commands in the jstest. |
| Comment by Esha Maharishi (Inactive) [ 08/Mar/18 ] |
|
Note, SERVER-33499 should make all of the collection-level operations listed above start getting profiled, so this ticket may just need to add test cases for them to the jstest. |