[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: |
|
||||||||||||
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |
| 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 Fail connections for which simple commands (e.g. ping) cannot be |