[SERVER-75001] Investigate updating sharding related tests in genericSetFCVUsage to test the downgrading state Created: 17/Mar/23  Updated: 29/Oct/23  Resolved: 26/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-73875 Include `movePrimary` state in `rando... Closed
is related to SERVER-68147 Audit the genericSetFCVUsage folder f... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-04-17, Sharding EMEA 2023-05-01, Sharding EMEA 2023-05-15, Sharding EMEA 2023-05-29
Participants:

 Description   

As part of PM-2974, we audited the genericSetFCVUsage tests to try and increase test coverage of the server running as normal while in the downgrading FCV state.

  • move_primary_setFCV.js We should update this test to test that movePrimary works for databases that were created while in the downgrading FCV state
  • setfcv_aborts_reshard_collection.js We should investigate updating this test to test that we abort reshard collections once we enter the downgrading FCV state specifically, not just when the full FCV downgrade completes.


 Comments   
Comment by Githook User [ 25/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-75001 Add resharding to DDL fsm concurrency tests
Branch: master
https://github.com/mongodb/mongo/commit/2aa802fbe5a3bc7022d2368a158e44da09e810c6

Comment by Marcos José Grillo Ramirez [ 09/May/23 ]

After working in this ticket, the current FCV test approach (using failpoints) ends up setting up really specific scenarios that might not cover all the concurrent occurrences, potentially leaving some scenarios untested. A FCV concurrency test, like the one done for other DDL looks like the best approach for this ticket.

SERVER-73875 was created to actually implement this for movePrimary, so, the only missing point for this would be where to implement the resharding test.

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