[GODRIVER-2214] Update serverless testing for load balancer fronting single proxy Created: 01/Nov/21  Updated: 11/May/22  Resolved: 10/May/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Benji Rewis (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-1967 Update serverless testing for load ba... Implementing
Quarter: FY22Q2
Upstream Changes Summary:

DRIVERS-1967:
Evergreen scripts for serverless provisioning have been updated in mongodb-labs/drivers-evergreen-tools@577c905. The serverless-expansion.yml file generated by create-serverless.sh now has only two relevant expansions: SERVERLESS_URI and SERVERLESS_INSTANCE_NAME:

  • SERVERLESS_URI is the SRV URI to be used for all connections to the serverless instance. Drivers MUST still add the username and password when using this connection string.
  • SERVERLESS_INSTANCE_NAME is used by the delete-instance.sh script. Additionally, drivers MAY define SERVERLESS_INSTANCE_NAME before calling create-instance.sh if they do not want to use a randomly generated name.

Drivers MUST update the Evergreen environment variables specified in the Atlas Serverless credentials Google Doc. Drivers that have previously implemented DRIVERS-1375 will note that only the SERVERLESS_DRIVERS_GROUP variable has changed. It now points to a new Atlas project, which is configured to provision serverless instances where the load balancer is backed by a single proxy.

Revised guidelines for handling useMultipleMongoses in legacy and unified test runners are discussed in mongodb/specifications@1b471f1. To summarize, since the URI now points to a load balancer backing a single serverless proxy, useMultipleMongoses is ignored when testing against Atlas Serverless.

Documentation Changes: Not Needed

 Description   

This ticket was split from DRIVERS-1967, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 11/May/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: Fix serverless task (#937)

GODRIVER-2389 Forbid serverless on unified change streams tests.
GODRIVER-2214 Update serverless testing for load balancer fronting single proxy.
Branch: csot-implementation
https://github.com/mongodb/mongo-go-driver/commit/ed33f31e96e9cbca6ba850e0adbd3f92d35cae4b

Comment by Githook User [ 10/May/22 ]

Author:

{'name': 'Benjamin Rewis', 'email': '32186188+benjirewis@users.noreply.github.com', 'username': 'benjirewis'}

Message: Fix serverless task (#937)

GODRIVER-2389 Forbid serverless on unified change streams tests.
GODRIVER-2214 Update serverless testing for load balancer fronting single proxy.
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/ed33f31e96e9cbca6ba850e0adbd3f92d35cae4b

Comment by Benji Rewis (Inactive) [ 04/May/22 ]

Will be done in https://github.com/mongodb/mongo-go-driver/pull/937.

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