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

[RRFaM] Add jstest that exercises both retryable FaM behaviors

    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

      Description

      The test should run two iterations, one with the classic retryable FaM behavior and one with the new behavior. Each iteration should:

      • Perform a FaM upsert (taking the insert path), asking for the preImage to be returned
        • Another upsert (also taking the insert path) asking for the postImage
      • A FaM update asking for the preImage
        • And the postImage
      • A FaM remove asking for the preImage
        • And the postImage

      After each request, the test should capture the response and retry the command. Assert that the responses match.

      We should also consider adding the RRFaM server parameter to this fuzz configuration generator. Note that turning on the parameters should not actually run RRFaM until the feature flag is also flipped/removed.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: