Create a flag on the OperationContext to indicate that an operation needs to block on a collection refresh.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2019-11-18, Sharding 2019-12-02, Sharding 2019-12-16, Sharding 2019-12-30, Sharding 2020-01-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Feature Work

      Create a flag on the OperationContext that indicates if an operation needs to block behind the next catalog cache refresh. Set this flag to always be true, as our initial state. Create the logic that would return the chunk distribution even if it’s marked as needsRefresh if the flag is set to false. Behavior should be maintained, since the flag is always set to true as of the completion of this ticket.

      Testing Work

      Create unit tests to verify the interaction between needsRefresh and and the new OperationContext flag.

            Assignee:
            Blake Oler
            Reporter:
            Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: