[SERVER-78950] Use sequential time series bucket IDs when possible Created: 13/Jul/23  Updated: 29/Oct/23  Resolved: 14/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Fausto Leyva (Inactive) 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
Depends
Related
related to SERVER-79382 Reset bucket OID counter when encount... Closed
related to SERVER-79397 Fix and test logic to internally retr... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0
Sprint: Execution NAMR Team 2023-07-24
Participants:
Linked BF Score: 105

 Description   

We should adopt a hybrid approach for generating Bucket OIDs by using a full 8-byte counter and only randomizing those bytes when we hit OID collisions. This should still reap the benefits of SERVER-78080 and address PERF-4352.

Context: as a result of SERVER-78080 (fully randomizing the last 8 bytes of bucket OID values), we saw a significant regression detailed in PERF-4352.



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

Author:

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

Message: SERVER-78950 Use sequential time series bucket IDs when possible

(cherry picked from commit 254456fb7d35bc3ef67ca68e17dca93a7b011757)
Branch: v5.0
https://github.com/mongodb/mongo/commit/526ca9b84bf78fbd4959c0ce25e0e7e6a9b88203

Comment by Githook User [ 22/Aug/23 ]

Author:

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

Message: SERVER-78950 Use sequential time series bucket IDs when possible

(cherry picked from commit 254456fb7d35bc3ef67ca68e17dca93a7b011757)
Branch: v6.0
https://github.com/mongodb/mongo/commit/e2800235d124546f964d13481a7ddda64c9f4f5f

Comment by Githook User [ 22/Aug/23 ]

Author:

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

Message: SERVER-78950 Use sequential time series bucket IDs when possible

(cherry picked from commit 254456fb7d35bc3ef67ca68e17dca93a7b011757)
Branch: v7.0
https://github.com/mongodb/mongo/commit/05e566d140e3b959c82a331be234bfbf8c46899a

Comment by Githook User [ 27/Jul/23 ]

Author:

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

Message: Revert "SERVER-78950 Use sequential time series bucket IDs when possible"

This reverts commit e8662106357ca486ac26252562058a796ad2403e.
Branch: v7.0
https://github.com/mongodb/mongo/commit/0d1635d51d552e1d69dfc6da25b5f0488348d62e

Comment by Githook User [ 14/Jul/23 ]

Author:

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

Message: SERVER-78950 Use sequential time series bucket IDs when possible

(cherry picked from commit 254456fb7d35bc3ef67ca68e17dca93a7b011757)
Branch: v7.0
https://github.com/mongodb/mongo/commit/e8662106357ca486ac26252562058a796ad2403e

Comment by Githook User [ 14/Jul/23 ]

Author:

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

Message: SERVER-78950 Use sequential time series bucket IDs when possible
Branch: master
https://github.com/mongodb/mongo/commit/254456fb7d35bc3ef67ca68e17dca93a7b011757

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