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

Write automation test for findAndModify happening while a TenantMigration is in a blocking state

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2021-11-01, Server Serverless 2021-11-15

    Description

      While working on SERVER-60599 it was decided to test the case of using the findAndModifyCmd which doesn't require server changes in order to get into that state.

      The test case should cover the following :

      • Start a tenant migration and enter a blocking state.
      • While the migration is in a blocking state, run asynchronously findAndModifyCmd
      • When joining the thread that ran the command findAndModifyCmd, make sure the command failed with code "TenantMigrationAborted"

      Attachments

        Activity

          People

            mathis.bessa@mongodb.com Mathis Bessa
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: