[SERVER-79397] Fix and test logic to internally retry time series inserts on OID collision Created: 26/Jul/23  Updated: 29/Oct/23  Resolved: 02/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.1, 6.0.10, 5.0.21

Type: Task 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:
Backports
Related
is related to SERVER-78950 Use sequential time series bucket IDs... Closed
is related to SERVER-79382 Reset bucket OID counter when encount... Closed
is related to SERVER-71985 Automatically retry time series inser... Closed
is related to SERVER-78080 Use fully random bytes for 8 low-orde... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0
Sprint: Execution NAMR Team 2023-08-07
Participants:

 Description   

SERVER-71985 introduced automatic internal retries when a time series insert generated an OID collision in the bucket collection. This behavior was not well-tested, and does not function as expected in all cases. After some changes to the bucket OID generation (SERVER-78950 in particular), automated testing of this logic should be much more feasible.



 Comments   
Comment by Githook User [ 23/Aug/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-79397 Fix and test logic to internally retry time series inserts on OID collision

(cherry picked from commit bc290885d53273c3312fcffeb64845d3dd7e9284)
Branch: v5.0
https://github.com/mongodb/mongo/commit/18c8471ed610c9baffa0dea40fef7cf9e050e8f8

Comment by Githook User [ 22/Aug/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-79397 Fix and test logic to internally retry time series inserts on OID collision

(cherry picked from commit bc290885d53273c3312fcffeb64845d3dd7e9284)
Branch: v6.0
https://github.com/mongodb/mongo/commit/5e149c21118b83f148e7fecb0c27827c75ab93fe

Comment by Githook User [ 22/Aug/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-79397 Fix and test logic to internally retry time series inserts on OID collision

(cherry picked from commit bc290885d53273c3312fcffeb64845d3dd7e9284)
Branch: v7.0
https://github.com/mongodb/mongo/commit/b139f19ca4822244bf0cd61bc0ae7fe4f03b6de7

Comment by Githook User [ 03/Aug/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-79397 Fix and test logic to internally retry time series inserts on OID collision
Branch: minh.luu-no_compile_sys-perf
https://github.com/mongodb/mongo/commit/bc290885d53273c3312fcffeb64845d3dd7e9284

Comment by Githook User [ 02/Aug/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-79397 Fix and test logic to internally retry time series inserts on OID collision
Branch: master
https://github.com/mongodb/mongo/commit/bc290885d53273c3312fcffeb64845d3dd7e9284

Generated at Thu Feb 08 06:40:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.