[SERVER-50606] NetworkInterfaceTest needs to be more permissive with async op timeout Created: 28/Aug/20  Updated: 29/Oct/23  Resolved: 18/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 4.4.24, 6.0.10, 5.0.21, 7.0.2

Type: Bug Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Vojislav Stojkovic
Resolution: Fixed Votes: 0
Labels: servicearch-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.3, v6.0, v5.0, v4.4
Sprint: Service Arch 2023-07-10, Service Arch 2023-07-24
Participants:
Linked BF Score: 0

 Description   

Here and here, we compare the elapsed time from the NetworkInterfaceTL with fixed values. However, the NetworkInterfaceTL measures its result from when it started the command. We should use OperationContext::setDeadlineByDate(...) instead of OperationContext:: setDeadlineAfterNowBy(...) and record the delay from our source data (without additional timeout) until after we invoke runCommand(). We can then compare the elapsed time with the timeouts minus the delay.



 Comments   
Comment by Githook User [ 07/Sep/23 ]

Author:

{'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-50606 NetworkInterfaceTest needs to be more permissive with async op timeout

(cherry picked from commit 616fc5509604701f82f69263de71dc570227a626)
Branch: v7.0
https://github.com/mongodb/mongo/commit/a33c5154f92021f3467e9469f6633d9e8a133f96

Comment by Githook User [ 08/Aug/23 ]

Author:

{'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-50606 NetworkInterfaceTest needs to be more permissive with async op timeout

(cherry picked from commit 616fc5509604701f82f69263de71dc570227a626)
Branch: v6.0
https://github.com/mongodb/mongo/commit/501b591eaf895c477e4ffcf39d18acd61664bbcc

Comment by Githook User [ 08/Aug/23 ]

Author:

{'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-50606 NetworkInterfaceTest needs to be more permissive with async op timeout

(cherry picked from commit 616fc5509604701f82f69263de71dc570227a626)
Branch: v5.0
https://github.com/mongodb/mongo/commit/6195b14789359b2be186708d196a7e6458d5c89d

Comment by Githook User [ 20/Jul/23 ]

Author:

{'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-50606 NetworkInterfaceTest needs to be more permissive with async op timeout

(cherry picked from commit 616fc5509604701f82f69263de71dc570227a626)
Branch: v4.4
https://github.com/mongodb/mongo/commit/2d32f8e4693e5adea21c3c67230463738b6fbd1c

Comment by Githook User [ 14/Jul/23 ]

Author:

{'name': 'vstojkovic-mongodb', 'email': '90724588+vstojkovic-mongodb@users.noreply.github.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-50606 NetworkInterfaceTest needs to be more permissive with async op timeout
Branch: master
https://github.com/mongodb/mongo/commit/616fc5509604701f82f69263de71dc570227a626

Comment by Blake Oler [ 22/Nov/22 ]

Keeping this closed with context that we're working on refactoring NetworkInterface in the near future – PM-2767.

Comment by Lauren Lewis (Inactive) [ 24/Feb/22 ]

We haven’t heard back from you for at least one calendar year, so this issue is being closed. If this is still an issue for you, please provide additional information and we will reopen the ticket.

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