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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.25, 4.2.15, 4.4.7, 5.0.0-rc1, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0, v4.4, v4.2, v4.0
    • Sprint:
      Repl 2021-05-17, Repl 2021-05-31
    • Linked BF Score:
      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

            Assignee:
            daniel.gottlieb Daniel Gottlieb
            Reporter:
            daniel.gottlieb Daniel Gottlieb
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: