Split legacy batch inserts into many messages

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: 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
              Reporter:
              Barrie Segal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: