Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1715

Incorrect Upserted count in BulkWriteResult

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.2
    • Affects Version/s: 1.4.0, 1.3.4
    • Component/s: CRUD
    • None
    • Environment:
      software platform

      Getting wrong upserted count when high number of model is bulk upserted.

      Steps to replicate:

      Try to bulk upsert n no models using.

      if n <= 100000 results is n

      if n > 100000 result is (n % 100000)

        1. main.go
          1 kB
          Ankush Goyal
        2. Screenshot from 2020-08-13 21-23-14.png
          279 kB
          Ankush Goyal

            Assignee:
            isabella.siu@mongodb.com Isabella Siu (Inactive)
            Reporter:
            ankushgoyal030@gmail.com Ankush Goyal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: