[SERVER-53391] Use insert for newly-created time-series buckets Created: 16/Dec/20  Updated: 29/Oct/23  Resolved: 19/Dec/20

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

Type: Improvement 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

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-12-28
Participants:

 Description   

Currently, we always use an upsert to create/update a time-series bucket. However, we can instead use an insert when we are creating a new bucket (as opposed to extending an existing one), which should improve performance in this case.



 Comments   
Comment by Githook User [ 19/Dec/20 ]

Author:

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

Message: SERVER-53391 Use insert for newly-created time-series buckets
Branch: master
https://github.com/mongodb/mongo/commit/fd2a9555e96f71962e34f225e6b10de7b183124f

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