[COMPASS-5341] Ensure that connecting with loadBalanced=true to unavailable host fails Created: 01/Dec/21  Updated: 29/Oct/23  Resolved: 16/Dec/21

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: 1.29.6

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to MONGOSH-1067 Warn user about failed connection wit... Closed
is related to COMPASS-6595 Initial ping command does not inherit... Closed
Epic Link: COMPASS-5198
Story Points: 2
Documentation Changes: Not Needed
Sprint: Iteration Reno

 Description   

Ensure that when using loadBalanced=true and connecting to an unavailable host, we treat that as a connection failure and don't let the user progress past the connection form. This could be done by e.g. running a ping/ismaster/hello/etc. command immediately after connecting and treating errors from that the same as errors from .connect().



 Comments   
Comment by Githook User [ 29/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341 (#2636)

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: port-to-playwright
https://github.com/mongodb-js/compass/commit/ecd2a67cbb144c2e0f66f0c0e61728ade2871a71

Comment by Githook User [ 21/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341 (#2636)

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: COMPASS-5233-ssh-form
https://github.com/mongodb-js/compass/commit/ecd2a67cbb144c2e0f66f0c0e61728ade2871a71

Comment by Githook User [ 21/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341 (#2636)

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: compass-5132-remove-overlay
https://github.com/mongodb-js/compass/commit/ecd2a67cbb144c2e0f66f0c0e61728ade2871a71

Comment by Githook User [ 20/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341 (#2636)

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: COMPASS-5270-connection-list-styling
https://github.com/mongodb-js/compass/commit/ecd2a67cbb144c2e0f66f0c0e61728ade2871a71

Comment by Githook User [ 20/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341 (#2636)

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: compass-5212-dbs-colls-grid-async
https://github.com/mongodb-js/compass/commit/ecd2a67cbb144c2e0f66f0c0e61728ade2871a71

Comment by Githook User [ 16/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341 (#2636)

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: main
https://github.com/mongodb-js/compass/commit/ecd2a67cbb144c2e0f66f0c0e61728ade2871a71

Comment by Githook User [ 15/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: 5341-dev
https://github.com/mongodb-js/compass/commit/aa1063b331ef5cf7b0e92e73bf2d97f20133aa41

Comment by Githook User [ 14/Dec/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore(data-service): fail connection if ping fails COMPASS-5341

Fail connections for which simple commands (e.g. ping) cannot be
run immediately, rather than just providing the user with an
unusable interface for the connection.
Branch: 5341-dev
https://github.com/mongodb-js/compass/commit/8f550365784a3dc7b6b3be1e884016125978b828

Generated at Wed Feb 07 22:39:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.