[SERVER-55409] Allow for repeatedly retrying timeseries insert Created: 22/Mar/21 Updated: 29/Oct/23 Resolved: 23/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dan Larkin-York | Assignee: | Dan Larkin-York |
| 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 | ||||
| Sprint: | Execution Team 2021-04-05 | ||||
| Participants: | |||||
| Linked BF Score: | 156 | ||||
| Description |
|
Currently when a timeseries insert fails because we attempt to update a bucket document and it no longer exists, we retry the insert and maintain an invariant that the second attempt succeeds. That invariant doesn't hold, and if we get quite unlucky with frequent bucket deletion (either very short TTL or manual deletion), it could require multiple retries. |
| Comments |
| Comment by Githook User [ 23/Mar/21 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: |