Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1888

Split legacy batch inserts into many messages

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None

      Split batch inserts into multiple messages and if safe writes stop after first error if not continueOnError or combine errors if so.

        fail on error continueOnError
      acknowledged
      • after each batch, send the requested getlasterror. If response is !ok, send no more batches and report an error
      • after each batch, send the requested getlasterror. Save the last !ok response.
      • after the last batch, report the last !ok response
      unacknowledged
      • after each batch but the last, send {getlasterror : 1}

        . If response is !ok, send no more batches and return (no error reported)

      • after the last batch, send no getlasterror command
      • after each batch, send no getlasterror command

            Assignee:
            Unassigned Unassigned
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: