[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:
Depends
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: SERVER-55409 Allow for repeatedly retrying timeseries insert
Branch: master
https://github.com/mongodb/mongo/commit/6b80cc5499935559a92291bcdaec548117ad2242

Generated at Thu Feb 08 05:36:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.