Investigate ensuring we can only check the feature flag once in a single operation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      in a single operation, you can only check the feature flag once. This is because if you checked if the feature flag was enabled multiple times within a single operation, it's possible that the feature flag and FCV might have become enabled/disabled during that time, which would result in only part of the operation being executed.

      Currently, it's up to the writer of the code to make sure they only check the feature flag once. We should investigate making this safer by default. For example, we could investigate stashing the result of the feature flag check on the OperationContext so we get a repeatable read for a given operation

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Huayu Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: