-
Type: Bug
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: libmongoc
-
Labels:None
Conversation with jmikola revealed that mongoc_read_concern_append and mongoc_write_concern_append may be unsafe to call on the same struct concurrently from multiple threads as the "freeze" functions that get called for these types do not use locks.
Note this is not a problem for Swift as we don't call these methods at all, and manually encode our read concern / write concern types to bson_ts instead.