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

Add method to identify which key has duplicate value

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      Even if detecting it’s fairly simple to detect if the write failure was produced by a duplicated key, it’s not so simple to detect which key was duplicated because, as far as I’m concerned, the only way it’s extract it from the error message string, which is error  prone and can easily break with an driver update. So, I will be very happy to see a new method that easily allows to know the key at fault when this kind of error happens.

      Attachments

        Activity

          People

            divjot.arora@mongodb.com Divjot Arora (Inactive)
            clausly4@gmail.com Claudio Yanes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: