[SERVER-70360] Do not allow extremely large write concern wTimeout values Created: 07/Oct/22  Updated: 24/Jan/24  Resolved: 05/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0, 6.0.5

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-15777 [SERVER] wTimeout values on large wri... Closed
Related
related to SERVER-45639 Use safeNumberLong() to parse wTimeou... Closed
related to SERVER-70361 OperationContext wait should handle o... Closed
related to SERVER-79276 replication JS tests use undefined Re... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2, v6.1, v6.0
Sprint: Repl 2022-10-17, Repl 2022-10-31, Repl 2022-11-14, Repl 2022-11-28, Repl 2022-12-12
Participants:
Linked BF Score: 120

 Description   

We allow 64-bit values for wTimeout. Timeouts which are very large don't make a lot of sense and we should reject them.



 Comments   
Comment by Githook User [ 23/Jan/23 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-70360 Set upper limit on wtimeout

(cherry picked from commit 85aa2d8d807d5472b1274971afc43f4c6ecd6923)
Branch: v6.0
https://github.com/mongodb/mongo/commit/c585f971a68e707da7420a6a5c19988bb65a6205

Comment by Githook User [ 05/Dec/22 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-70360 Set upper limit on wtimeout
Branch: master
https://github.com/mongodb/mongo/commit/85aa2d8d807d5472b1274971afc43f4c6ecd6923

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