[CXX-2676] Switch to polling monitoring when running within a FaaS environment Created: 12/Apr/23  Updated: 28/Oct/23  Resolved: 19/Sep/23

Status: Closed
Project: C++ Driver
Component/s: FaaS
Affects Version/s: None
Fix Version/s: 3.9.0

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

Issue Links:
Depends
depends on CDRIVER-4615 Switch to polling monitoring when run... 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


 Description   

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



 Comments   
Comment by Adrian Dole [ 19/Sep/23 ]

C driver 1.25 provides this behavior to C++.

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