[SERVER-56377] [RRFaM] Add FSM test to perform retryable FaM while flipping server parameter 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
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4, v4.2, v4.0
Sprint: Repl 2021-05-17, Repl 2021-05-31
Participants:
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.


 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 [ 08/Jun/21 ]

Author:

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

Message: SERVER-56377: Add fsm test for `storeFindAndModifyImagesInSideCollection`
Branch: v4.2
https://github.com/mongodb/mongo/commit/1b0f491b901c901a7d4dcc341eef9e0a9f8613d5

Comment by Githook User [ 04/Jun/21 ]

Author:

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

Message: SERVER-56377: Add fsm test for `storeFindAndModifyImagesInSideCollection`.

(cherry picked from commit c9658dab44272cdc6e8cb949b81f8fae1288b4e8)
Branch: v4.4
https://github.com/mongodb/mongo/commit/99ca54f4bc0ed5c140319a5e85bd497965e01438

Comment by Githook User [ 03/Jun/21 ]

Author:

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

Message: SERVER-56377: Add fsm test for `storeFindAndModifyImagesInSideCollection`.

(cherry picked from commit c9658dab44272cdc6e8cb949b81f8fae1288b4e8)
Branch: v5.0
https://github.com/mongodb/mongo/commit/bbf048bf5a42d3d3f1c58eac2aedfcba85beee2b

Comment by Githook User [ 28/May/21 ]

Author:

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

Message: SERVER-56377: Add fsm test for `storeFindAndModifyImagesInSideCollection`.

(cherry picked from commit c9658dab44272cdc6e8cb949b81f8fae1288b4e8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/605f0cc7bbbc9bce090e3316e3db22ec043e64af

Comment by Githook User [ 27/May/21 ]

Author:

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

Message: SERVER-56377: Add `findAndModify_flip_location.js` to backports required for multiversion tests file.
Branch: master
https://github.com/mongodb/mongo/commit/8d4529b46f39ed8c92a79870b91f32e0a996e3cf

Comment by Githook User [ 25/May/21 ]

Author:

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

Message: SERVER-56377: Add fsm test for `storeFindAndModifyImagesInSideCollection`.
Branch: master
https://github.com/mongodb/mongo/commit/c9658dab44272cdc6e8cb949b81f8fae1288b4e8

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