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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-11-18, Sharding 2019-12-02, Sharding 2019-12-16, Sharding 2019-12-30, Sharding 2020-01-13

    Description

      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.

      Attachments

        Activity

          People

            blake.oler@mongodb.com Blake Oler
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: