Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73533

Refactor the BucketState class to remove bit state flag

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • 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

      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. 

            Assignee:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Reporter:
            fausto.leyva@mongodb.com Fausto Leyva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: