[CDRIVER-3542] Refactor error label copying Created: 18/Feb/20  Updated: 28/Oct/23  Resolved: 26/Feb/20

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.17.0-beta, 1.17.0

Type: Task Priority: Minor - P4
Reporter: Andreas Braun Assignee: Andreas Braun
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

copy_labels_plus_retryable_write_error and copy_labels_plus_unknown_commit_result share most of their logic. This should be refactored into a more generic _mongoc_error_copy_labels_and_upsert (src, dst, label) function.


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