[SERVER-82090] Reduce scope of synchronization for archive-based reopening Created: 11/Oct/23  Updated: 16/Nov/23  Resolved: 10/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.2.0-rc2, 7.0.5

Type: Improvement 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
Depends
Related
is related to SERVER-80358 Time-series inserts generate duplicat... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.2, v7.1, v7.0
Sprint: Execution Team 2023-11-13
Participants:
Linked BF Score: 5

 Description   

SERVER-80358 introduced additional synchronization for reopening. Currently it treats archive-based reopening and query-based reopening the same, in that any reopening on a given series conflicts with any other reopening, and any reopening conflicts with any prepared batch on that series. In the case of archive-based reopening, we know exactly which bucket is involved, so we could instead conflict only with prepared batches on the same bucket, other archive-based reopening requests for the same bucket, or query-based reopenings for the series.

This has a potential to resolve regressions for some workloads, but extends the synchronization matrix, so we'll have to evaluate the trade-offs.



 Comments   
Comment by Githook User [ 13/Nov/23 ]

Author:

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

Message: SERVER-82090 Reduce scope of synchronization for archive-based reopening

(cherry picked from commit e98f26d0f928259b64ab5776067c0a5cc73b409e)
Branch: v7.0
https://github.com/mongodb/mongo/commit/77de490ba6bd95984f8ba32a03024088f5cf1250

Comment by Githook User [ 13/Nov/23 ]

Author:

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

Message: SERVER-82090 Reduce scope of synchronization for archive-based reopening

(cherry picked from commit e98f26d0f928259b64ab5776067c0a5cc73b409e)
Branch: v7.2
https://github.com/mongodb/mongo/commit/cf1865b616a1f4ee24f83f32f0d5291e37865962

Comment by Githook User [ 10/Nov/23 ]

Author:

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

Message: SERVER-82090 Reduce scope of synchronization for archive-based reopening
Branch: master
https://github.com/mongodb/mongo/commit/e98f26d0f928259b64ab5776067c0a5cc73b409e

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