[CDRIVER-4615] Switch to polling monitoring when running within a FaaS environment Created: 12/Apr/23  Updated: 28/Oct/23  Resolved: 16/Oct/23

Status: Closed
Project: C Driver
Component/s: FaaS
Affects Version/s: None
Fix Version/s: 1.25.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
is depended on by CXX-2676 Switch to polling monitoring when run... Closed
Issue split
split from DRIVERS-2578 Switch to polling monitoring when run... Implementing
Related
is related to PHPC-2281 Switch to polling monitoring when run... Closed
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 Githook User [ 16/Oct/23 ]

Author:

{'name': 'Adrian Dole', 'email': 'adrian@dole.tech', 'username': 'adriandole'}

Message: CDRIVER-4615 use polling monitoring in FaaS environments (#1362)

Co-authored-by: Kevin Albertson <kevin.albertson@10gen.com>

---------

Co-authored-by: Kevin Albertson <kevin.albertson@10gen.com>
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/c7fa88c0bb54bdce42ed9880bcb14ee0580d02af

Comment by Adrian Dole [ 25/Sep/23 ]

Pending specifications PR: https://github.com/mongodb/specifications/pull/1452

Generated at Wed Feb 07 21:21:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.