[GODRIVER-2810] Switch to polling monitoring when running within a FaaS environment Created: 12/Apr/23  Updated: 06/Dec/23  Resolved: 01/Nov/23

Status: Closed
Project: Go Driver
Component/s: FaaS
Affects Version/s: None
Fix Version/s: 1.13.0, 1.13.1

Type: New Feature Priority: Major - P3
Reporter: PM Bot Assignee: Preston Vasquez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on GODRIVER-2972 Fix wiremessage RequestID race in ope... Closed
depends on GODRIVER-2935 Use OP_QUERY in connection handshakes Closed
Issue split
split from DRIVERS-2578 Switch to polling monitoring when run... Implementing
Quarter: FY24Q3
Upstream Changes Summary:

DRIVERS-2578:
In this change drivers will:

  • Disable streaming SDAM by default on AWS Lambda and similar FaaS platforms.
  • Introduce the serverMonitoringMode=stream/poll/auto URI option.
  • Add Unified Test Format version 1.17 to add support for server heartbeat events and asserting on the "awaited" field.
  • Ensure that clients MUST NOT use dedicated connections to measure RTT when using the polling protocol.

See the spec changes in: https://github.com/mongodb/specifications/commit/14a6c8134d0c3038cdaa34bb33bcebbb3a545ca8
And the Python implementation: https://github.com/mongodb/mongo-python-driver/commit/4c00227c1d350a64d1af6672cb6de26072082b81

Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

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



 Comments   
Comment by Githook User [ 01/Nov/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: GODRIVER-2810 [master] Switch to polling monitoring when running within a FaaS environment (#1447)

Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/b593d81ef487b74b37f0e909ff99a8f842bd4bda

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