[SERVER-44244] Temporarily raise transaction lifetime limit during setFCV in validate collections hook Created: 25/Oct/19  Updated: 29/Oct/23  Resolved: 13/Mar/20

Status: Closed
Project: Core Server
Component/s: Sharding, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: sharding-4.4-stabilization, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-44034 [refine shard key] Remove refineColle... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Participants:
Linked BF Score: 16

 Description   

As of SERVER-42299, setFeatureCompatibilityVersion uses transactions to modify sharded metadata on the config server when run in a sharded cluster. This command may be called in the validate collections hook run after a fuzzer test if the cluster does not have the expected FCV. Fuzzer suites reduce the transactionLifetimeLimitSeconds parameter to 1 second, so it's possible for validate collections to fail against sharded clusters if a setFCV transaction is killed for exceeding 1 second.

To get around this, transactionLifetimeLimitSeconds should be temporarily raised while running setFCV in validate collections. This behavior can be removed as part of SERVER-44034.



 Comments   
Comment by Githook User [ 13/Mar/20 ]

Author:

{'name': 'Max Hirschhorn', 'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-44244 Increase transactionLifetimeLimitSecs during validate hook.

(cherry picked from commit d09c84a0856060c38e58d971599966af8719a454)
Branch: v4.4
https://github.com/mongodb/mongo/commit/d84a635ffe1df5f0bff6a4282fc91a514a4000cd

Comment by Githook User [ 12/Mar/20 ]

Author:

{'name': 'Max Hirschhorn', 'username': 'visemet', 'email': 'max.hirschhorn@mongodb.com'}

Message: SERVER-44244 Increase transactionLifetimeLimitSecs during validate hook.
Branch: master
https://github.com/mongodb/mongo/commit/d09c84a0856060c38e58d971599966af8719a454

Comment by Anton Oyung [ 20/Nov/19 ]

Issue seems to require a more extensive solution so putting this back into backlog for another day 

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