[CDRIVER-1890] Allow mongoc_client_set_apm_callbacks() to be called multiple times Created: 28/Oct/16  Updated: 01/Nov/16  Resolved: 01/Nov/16

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.4.0
Fix Version/s: 1.5.0

Type: Improvement Priority: Major - P3
Reporter: Jeremy Mikola Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PHPC-349 Application Performance Monitoring (APM) Closed
Related
related to CDRIVER-769 APM Internal API Closed
is related to CDRIVER-769 APM Internal API Closed
Backwards Compatibility: Fully Compatible

 Description   

PHPC and HHVM will need this functionality in order to disable user-provided callbacks that are assigned within a single request, since we persist and re-use mongoc_client_t objects across multiple requests.



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

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1890 test resetting APM callbacks
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/7df7db642aa7d17a4ef873884887c21749311db1

Comment by Githook User [ 01/Nov/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1890 allow resetting APM callbacks
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/1e0a6d84ec61d1bb3427ffa6861802d092e40ae4

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