Fix for "bulk_write_exception::raw_server_error() contains unexpected (0) number of write error."

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Atlas Streams
    • ALL
    • Sprint 45
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In prod there is a stream processor with timeseries $emit hitting errors likebulk_write_exception::raw_server_error() contains unexpected (0) number of write error.

      This PR adds some logs so we can see what the original mongocxx error was:

      https://github.com/10gen/mongo/pull/20051

      ====

      There might be a bug in our code we need to fix in merge_operator and timeseries_emit_operator. 

            Assignee:
            Matthew Normyle
            Reporter:
            Matthew Normyle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: