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

[RRFaM] Add FSM test to perform retryable FaM while flipping server parameter

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.25, 4.2.15, 4.4.7, 5.0.0-rc1, 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • v5.0, v4.4, v4.2, v4.0
    • Repl 2021-05-17, Repl 2021-05-31
    • 162

    Description

      When allowing a server parameter be runtime changeable, there exists a class of bugs where a single logical operation making multiple reads of the value can see differing results. The most straightforward way to prevent that is to only read the dynamic value once.

      This test should flip the value of retryableFindAndModifyStorageLocation while performing retryable FaM upserts(inserts), updates and removes. This provides two benefits:

      • Ensuring that changing the server parameter is safe.
      • Providing coverage for both the existing and new retryable FaM behaviors in one localized test.

      Attachments

        Activity

          People

            daniel.gottlieb@mongodb.com Daniel Gottlieb
            daniel.gottlieb@mongodb.com Daniel Gottlieb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: