[SERVER-56376] [RRFaM] Add jstest that exercises both retryable FaM behaviors Created: 27/Apr/21  Updated: 29/Oct/23  Resolved: 25/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.25, 4.2.15, 4.4.7, 5.0.0-rc1, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Daniel Gottlieb (Inactive) Assignee: Daniel Gottlieb (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Sprint: Repl 2021-05-17, Repl 2021-05-31
Participants:

 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.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 09/Jun/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-56376: SERVER-57544 Add jstest that exercises both retryable FaM behaviors.
Branch: v4.2
https://github.com/mongodb/mongo/commit/2140ead1ab21fed2f031b3c39fac06d38e854991

Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-56376: Add jstest that exercises both retryable FaM behaviors.

(cherry picked from commit 8d45a34fd50e43cc5423b20111d0e98d0090294e)
Branch: v5.0
https://github.com/mongodb/mongo/commit/3528eff88f9fd6e83ba8c472ccc326f49648c758

Comment by Githook User [ 27/May/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-56376: [RRFaM] part 1, add preImage extraction from config.image_collection
Branch: v4.2
https://github.com/mongodb/mongo/commit/fcfc73be325777faf3964289f599b63ef3131c3a

Comment by Githook User [ 25/May/21 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-56376: Add jstest that exercises both retryable FaM behaviors.

(cherry picked from commit 8d45a34fd50e43cc5423b20111d0e98d0090294e)
Branch: v4.4
https://github.com/mongodb/mongo/commit/2dbf533354997a809b73e2c026f3d157fe6e364c

Comment by Githook User [ 24/May/21 ]

Author:

{'name': 'Daniel Gottlieb', 'email': 'daniel.gottlieb@mongodb.com', 'username': 'dgottlieb'}

Message: SERVER-56376: Add jstest that exercises both retryable FaM behaviors.
Branch: master
https://github.com/mongodb/mongo/commit/8d45a34fd50e43cc5423b20111d0e98d0090294e

Comment by Githook User [ 10/May/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@10gen.com', 'username': 'jasonjhchan'}

Message: SERVER-56376 Allow retries of findAndModify to extract image from `config.image_collection` and add jstest that exercises both retryable FaM behaviors
Branch: v4.0
https://github.com/mongodb/mongo/commit/a12476985cc856c1e899db5a0bd3e52ac095e062

Generated at Thu Feb 08 05:39:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.