[SERVER-56981] Block writes to a tenant's data before selecting the block timestamp Created: 14/May/21  Updated: 29/Oct/23  Resolved: 01/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: pm-1791_non-cloud-blocking, pm-1791_other_required, post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding 2021-05-17, Sharding 2021-06-14, Sharding 2021-05-31
Participants:

 Description   

Currently we block writes to a tenant's data after reserving the oplog slot that corresponds to the block timestamp. This means a write to the tenant's data can commit with a higher opTime timestamp than the block timestamp, which is at odds with the design. Instead, we should block writes before reserving the oplog slot.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 02/Jun/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-56981 Verify the blockTimestamp is higher than the timestamp of any donor writes

(cherry picked from commit f5920f892b6cc0572140be6b81babf8bf4419278)
Branch: v5.0
https://github.com/mongodb/mongo/commit/02d72b2c45f858eee1668b99cf8a77277fd695ce

Comment by Githook User [ 01/Jun/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-56981 Verify the blockTimestamp is higher than the timestamp of any donor writes
Branch: master
https://github.com/mongodb/mongo/commit/f5920f892b6cc0572140be6b81babf8bf4419278

Comment by Githook User [ 17/May/21 ]

Author:

{'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}

Message: SERVER-56981 Block writes to a tenant's data before selecting the block timestamp
Branch: master
https://github.com/mongodb/mongo/commit/5fd52b1e504274b3a0d2649a894b1dcba4ec4b26

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