[SERVER-64501] Reduce quiesce mode time for tenant migration fixture Created: 15/Mar/22  Updated: 29/Oct/23  Resolved: 15/Mar/22

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-63266 Support starting a replica set node w... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-03-21
Participants:

 Description   

The quiesce mode timeout is driven by the shutdownTimeoutMillisForSignaledShutdown server parameter that has a default value of 15 seconds.

This parameter is set to 100ms for all our fixtures that use replicasets except for the tenant migrations ones that stick to the default 15 sec value.

As a consequence all suites that use this fixture require very long time to run on evergreen. By reducing this timeout also for tenant migration fixture I managed to drastically reduce test runtime for those suites.

  • tenant_migration_jscore_passthrough
    • 1 h -> 15 min
  • tenant_migration_causally_consistent_jscore_passthrough
    • 1 h -> 15 min
  • tenant_migration_multi_stmt_txn_jscore_passthrough:
    • 4 h 45 min -> 30 min
  • tenant_migration_stepdown_jscore_passthrough:
    • 3h 51 min -> 30 min
  • tenant_migration_kill_primary_jscore_passthrough:
    • 3h 30 min -> 30 min
  • tenant_migration_terminate_primary_jscore_passthrough:
    • 4h 15 min -> 30 min


 Comments   
Comment by Githook User [ 15/Mar/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-64501 Reduce quiesce mode time for tenant migration fixture
Branch: master
https://github.com/mongodb/mongo/commit/92906f06daca886395569f8e656493936091e8a2

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