[SERVER-61021] Documents may be retrieved out of order in timeseries_delete.js Created: 26/Oct/21 Updated: 29/Oct/23 Resolved: 15/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0, 5.0.5, 5.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Gregory Noma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.1, v5.0
|
||||||||
| Sprint: | Execution Team 2021-11-29 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 14 | ||||||||
| Description |
|
In timeseries_delete.js, we check that the documents remaining in the collection are what we expect. However, it is not necessarily guaranteed that they will be retrieved in the same order that that we are checking them in. To fix this, we can either use assert.sameMembers or sort by time when performing the query. |
| Comments |
| Comment by Githook User [ 17/Nov/21 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: (cherry picked from commit 81a1605fc1443bfd87c9d9aa3bfb1b34ec332fef) |
| Comment by Githook User [ 17/Nov/21 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: (cherry picked from commit 81a1605fc1443bfd87c9d9aa3bfb1b34ec332fef) |
| Comment by Githook User [ 12/Nov/21 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: |