[SERVER-54426] Time-series bucket catalog can miss promises with concurrent inserts Created: 09/Feb/21  Updated: 29/Oct/23  Resolved: 11/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

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:
Depends
is depended on by SERVER-54335 investigate insert performance for TSBS Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2021-02-22
Participants:

 Description   

When a bucket is committed, the number of promises we set is one less than the number of documents returns by the previous call to commit. However, if there are multiple concurrent writers which cause commit to be called multiple times, this number is not correct and we can miss a promise which should be set.



 Comments   
Comment by Githook User [ 11/Feb/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-54426 Set all expected promises when committing time-series bucket
Branch: master
https://github.com/mongodb/mongo/commit/dc03b6aa04c099922c026866d3abca68040c09dd

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