Incorrect Upserted count in BulkWriteResult

XMLWordPrintableJSON

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

      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
        2. Screenshot from 2020-08-13 21-23-14.png
          Screenshot from 2020-08-13 21-23-14.png
          279 kB

            Assignee:
            Isabella Siu (Inactive)
            Reporter:
            Ankush Goyal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: