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

Add testing for toggling pauseMigrationsDuringMultiUpdates while writes are ongoing

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • 200

      PM-3209 added a cluster parameter called pauseMigrationsDuringMultiUpdates. When enabled, it will take a separate write path where migrations are blocked for the duration on the write. There is concurrency test to ensure that updateMany/deleteMany work properly with concurrent moveChunk when the cluster parameter is enabled. However, there is no testing around toggling the cluster parameter and how that will behavior with concurrent writes. 

      See BF-33262 for more detail. 

      Possible implementations:

      • background hook that turns the parameter on and off randomly
      • concurrency test that toggles the parameter while write are ongoing

            Assignee:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Reporter:
            kruti.shah@mongodb.com Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: