[JAVA-4028] Provide explicit guidance on handling command errors that occur before the handshake completes during operation execution Created: 02/Mar/21  Updated: 28/Oct/23  Resolved: 06/Oct/21

Status: Closed
Project: Java Driver
Component/s: Connection Management
Affects Version/s: None
Fix Version/s: 4.4.0

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Valentin Kavalenka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on JAVA-3928 Connection pool paused state Closed
Gantt Dependency
has to be done after JAVA-4034 Refactor read/write retries to accomm... Closed
Gantt End to End
has to be finished together with JAVA-4139 SDAM pool-cleared-error test has wron... Closed
Issue split
Epic Link: Avoiding connection storms
Quarter: FY22Q4
Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed

 Description   

DRIVERS Ticket Description
Script Target - If you can read this text, the script has failed


 Comments   
Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'Valentin Kovalenko', 'email': 'valentin.kovalenko@mongodb.com', 'username': 'stIncMale'}

Message: JAVA-4028 Provide explicit guidance on handling command errors that occur before the handshake completes during operation execution (#792)

Updated `minPoolSize-error.json` and `pool-cleared-error.json`.
The former change comes from JAVA-3988, while the latter from JAVA-4139.

Resynced the `server-discovery-and-monitoring/tests/integration` tests,
except for `rediscover-quickly-after-step-down.json`.

JAVA-4028
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a457e46f8f102317d26ae876b73afd1946dee844

Comment by Cloud GitHub Webhooks [ 06/Oct/21 ]

stIncMale merged a pull request (JAVA-4028 Provide explicit guidance on handling command errors that occur before the handshake completes during operation execution) into the following branch:
master: a457e46f8f102317d26ae876b73afd1946dee844

Comment by Valentin Kavalenka [ 11/May/21 ]

The test pool-cleared-error.yml added in DRIVERS-1476 requires MongoConnectionPoolClearedException to be retryable, which is not implemented in JAVA-3928. See also this comment in JAVA-4034.

Generated at Thu Feb 08 09:01:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.