[SERVER-75280] Make shard_keys_with_dollar_sign.js use long timeouts for resharding crit sec Created: 24/Mar/23  Updated: 29/Oct/23  Resolved: 07/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 6.0.7, 5.0.19, 7.0.0-rc4

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0
Sprint: Sharding NYC 2023-06-12
Participants:
Linked BF Score: 5

 Description   

similar to the default timeout used by resharding text fixtures.



 Comments   
Comment by Githook User [ 13/Jun/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75280 Make shard_keys_with_dollar_sign.js use a long timeout for resharding critical section

(cherry picked from commit 3a53689ff93474ab00156a32cb81179c311a1c6c)
Branch: v5.0
https://github.com/mongodb/mongo/commit/3c6343364958345b59aaa773e97658d810b8a4ce

Comment by Githook User [ 12/Jun/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75280 Make shard_keys_with_dollar_sign.js use a long timeout for resharding critical section

(cherry picked from commit 3a53689ff93474ab00156a32cb81179c311a1c6c)
Branch: v6.0
https://github.com/mongodb/mongo/commit/3061ce03399271f6b3ed49f2337ebf8b7127a2b1

Comment by Githook User [ 12/Jun/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75280 Make shard_keys_with_dollar_sign.js use a long timeout for resharding critical section

(cherry picked from commit 3a53689ff93474ab00156a32cb81179c311a1c6c)
Branch: v7.0
https://github.com/mongodb/mongo/commit/dfdab117b9bf895a66181667811effad62217aef

Comment by Githook User [ 07/Jun/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75280 Make shard_keys_with_dollar_sign.js use a long timeout for resharding critical section
Branch: master
https://github.com/mongodb/mongo/commit/3a53689ff93474ab00156a32cb81179c311a1c6c

Comment by Max Hirschhorn [ 07/Jun/23 ]

See https://github.com/mongodb/mongo/blob/399e40d0f739b9c55240c0c9dc0ab61ee9a1893b/jstests/sharding/invalidate_plan_cache_entries_when_collection_generation_changes.js#L23-L27 as an example of how to raise the reshardingCriticalSectionTimeoutMillis server parameter in a test which uses ShardingTest directly rather than using the ReshardingTest fixture.

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