[DRIVERS-2224] Update initial DNS seedlist discovery tests to support dedicated load balancer port Created: 02/Mar/22  Updated: 31/Aug/22

Status: Blocked
Project: Drivers
Component/s: Initial DNS Seedlist Discovery
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: Matt Dale Assignee: Matt Dale
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DRIVERS-2234 Assert that a Ping operation succeeds... Implementing
Issue split
split to CDRIVER-4302 Update initial DNS seedlist discovery... Backlog
split to RUBY-2915 Update initial DNS seedlist discovery... Backlog
split to CSHARP-4084 Update initial DNS seedlist discovery... Closed
split to CXX-2460 Update initial DNS seedlist discovery... Closed
split to GODRIVER-2324 Update initial DNS seedlist discovery... Closed
split to MOTOR-903 Update initial DNS seedlist discovery... Closed
split to NODE-4057 Update initial DNS seedlist discovery... Closed
split to PHPLIB-805 Update initial DNS seedlist discovery... Closed
split to PYTHON-3153 Update initial DNS seedlist discovery... Closed
split to RUST-1202 Update initial DNS seedlist discovery... Closed
split to JAVA-4513 Update initial DNS seedlist discovery... Backlog
Related
is related to GODRIVER-2292 Update load balancer tests to support... Closed
is related to DRIVERS-1983 Update load balancer tests to support... Implementing
Driver Changes: Needed
Downstream Changes Summary:

The driver updates required in DRIVERS-1983 break the initial-dns-seedlist-discovery load-balanced tests because those tests still point the driver directly at the mongos instances, requiring that the driver still mocks the service ID. See this comment for more details about the test failures in the Go driver.

Update those tests and the associated DNS records to point the driver at the load balancer started by run-load-balancer.sh, allowing drivers to stop mocking service ID.

Here's the ticket for updating the DNS records: https://jira.mongodb.org/browse/BUILD-14668
Here's a PR for the test changes: https://github.com/mongodb/specifications/pull/1148
Here's the draft PR testing the spec test changes in the Go driver: https://github.com/mongodb/mongo-go-driver/pull/861

Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4302 Backlog
CXX-2460 Won't Do
CSHARP-4084 Fixed 2.16.0
GODRIVER-2324 Done
JAVA-4513 Backlog
NODE-4057 Done
MOTOR-903 Duplicate
PYTHON-3153 Fixed 4.2
PHPLIB-805 Won't Do
RUBY-2915 Backlog
RUST-1202 Fixed 2.2.0
SWIFT-1507 Fixed 1.3.0

 Description   

Summary

The driver updates required in DRIVERS-1983 break the initial-dns-seedlist-discovery load-balanced tests because those tests still point the driver directly at the mongos instances, requiring that the driver still mocks the service ID. See this comment for more details about the test failures in the Go driver.

Update those tests and the associated DNS records to point the driver at the load balancer started by run-load-balancer.sh, allowing drivers to stop mocking service ID.

Here's the ticket for updating the DNS records: https://jira.mongodb.org/browse/BUILD-14668
Here's a PR for the test changes: https://github.com/mongodb/specifications/pull/1148
Here's the draft PR testing the spec test changes in the Go driver: https://github.com/mongodb/mongo-go-driver/pull/861

Motivation

Who is the affected end user?

Driver devs implementing the changes required by DRIVERS-1983.

How does this affect the end user?

The initial DNS seedlist discovery spec tests fail.

How likely is it that this problem or use case will occur?

The test failures will always happen after doing the driver changes required by DRIVERS-1983.

If the problem does occur, what are the consequences and how severe are they?

Driver devs will have to investigate unexplained test failures.

Is this issue urgent?

No.

Is this ticket required by a downstream team?

No.

Is this ticket only for tests?

Yes.



 Comments   
Comment by Githook User [ 03/Mar/22 ]

Author:

{'name': 'Matt Dale', 'email': '9760375+matthewdale@users.noreply.github.com', 'username': 'matthewdale'}

Message: DRIVERS-2224 Fix load-balanced DNS seedlist discovery tests for new dedicated lb port. (#1148)
Branch: master
https://github.com/mongodb/specifications/commit/5d1b42a05017ba27ffdbe6fd068a45e93e5b68c5

Generated at Thu Feb 08 08:25:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.