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

Improve reliability of FSM tests for bulk operations

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      A recent investigation (SERVER-89708) highlighted a potential issue in fsm tests where bulk crud operations are performed.
      The investigation found that any crud operation that relies on bulk execution (as defined here) can potentially throw a NoProgressMade, especially under a heavy concurrent load (such as moveCollection)
      For SERVER-89708, which only targeted the timeseries_mixed_operation.js test, the solution was to wrap the insertions/deletions within a helper that loop retries until success. 

      Ideally, writing fsm tests should be easier.
      The goal of the ticket is to review crud operations in fsm tests and assess if a more generic solution can be found to retry in case of NoProgressMade

            Assignee:
            Unassigned Unassigned
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: