[MONGOCRYPT-68] Support deduplicating I/O requests without blocking Created: 23/Apr/19  Updated: 28/Oct/23  Resolved: 30/Apr/19

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: API
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to MONGOCRYPT-39 libmongocrypt: key + collinfo cache Closed
Epic Link: Build libmongocrypt library

 Description   

We need to provide a way to deduplicate requests for keys and JSONSchemas without blocking inside libmongocrypt. For sync drivers, we can block inside libmongocrypt. For async drivers, we cannot. The current proposed solution (in the driver spec) is to expose unique id's for a contexts and add a new "WAITING" state. Async drivers can wait on dependant contexts without blocking.



 Comments   
Comment by Githook User [ 13/May/19 ]

Author:

{'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}

Message: CDRIVER-3095 add context id and waiting stubs
Branch: CDRIVER-3021
https://github.com/10gen/libmongocrypt/commit/d67dd2856460406fdbeff70a5837bbebb0cb073a

Comment by Githook User [ 03/May/19 ]

Author:

{'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}

Message: CDRIVER-3095 add context id and waiting stubs
Branch: master
https://github.com/10gen/libmongocrypt/commit/d67dd2856460406fdbeff70a5837bbebb0cb073a

Comment by Githook User [ 30/Apr/19 ]

Author:

{'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}

Message: CDRIVER-3095 add context id and waiting stubs
Branch: master
https://github.com/10gen/libmongocrypt/commit/d67dd2856460406fdbeff70a5837bbebb0cb073a

Generated at Thu Feb 08 09:07:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.