[SERVER-73533] Refactor the BucketState class to remove bit state flag Created: 01/Feb/23  Updated: 29/Oct/23  Resolved: 01/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc5

Type: Improvement Priority: Major - P3
Reporter: Fausto Leyva (Inactive) Assignee: Fausto Leyva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-72838 Prevent concurrent direct writes from... Closed
Related
is related to SERVER-74439 Handle direct writes and pending com... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Execution Team 2023-02-20, Execution Team 2023-03-06, Execution Team 2023-03-20, Execution Team 2023-04-03, Execution Team 2023-04-17, Execution Team 2023-05-01, Execution Team 2023-05-15, Execution Team 2023-05-29, Execution Team 2023-06-12
Participants:

 Description   

We can simplify the BucketState class by removing the use of the bit state flag and move towards using states: normal, prepared, cleared, preparedAndCleared, and directWrite. Additionally, the directWrite can be interchanged with the OperationId to prevent concurrent directWrites on the same namespace. 



 Comments   
Comment by Githook User [ 20/Jun/23 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-73533 Refactor the BucketState class to remove bit state flag
Branch: v7.0
https://github.com/mongodb/mongo/commit/18b084d56093ecfe453919699985545ef56daa64

Comment by Githook User [ 01/Jun/23 ]

Author:

{'name': 'Faustoleyva54', 'email': 'fausto.leyva@mongodb.com', 'username': 'Faustoleyva54'}

Message: SERVER-73533 Refactor the BucketState class to remove bit state flag
Branch: master
https://github.com/mongodb/mongo/commit/5ee869d163b06bf59f5a78ad6dc76cb2fd3ceb06

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