Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3542

Refactor error label copying

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.17.0-beta, 1.17.0
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            Assignee:
            andreas.braun Andreas Braun
            Reporter:
            andreas.braun Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: