[CSHARP-3169] Research the reason why sometimes the initial heatbeat can take more than 5 seconds Created: 23/Jul/20 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Testing |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dmitry Lukyanov (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This is a follow-up ticket for Calling this line may require approximately around 5 seconds: https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver.Core/Core/Connections/TcpStreamFactory.cs#L311 I've added a log to 310 and 315 lines:
Pay attention to the difference between `Date`s. We need to investigate the reasons for this behavior. The EG: https://evergreen.mongodb.com/task_log_raw/dot_net_driver_tests_snappy_compression__version~4.4_os~windows_64_topology~standalone_auth~noauth_ssl~nossl_compressor~snappy_test_netstandard15_patch_297fcd723ff32aac47b7b018c978ec4baf0773d7_5f18e7f0c9ec445ac9df0b6a_20_07_23_01_29_20/0?type=T#L2989 |