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

Update handling of write concern errors by user management commands

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      NODE-1792 Fixed 3.2.0
      SCALA-482 Done
      PYTHON-1703 Won't Fix
      CSHARP-2451 Won't Fix
      PERL-1047 Won't Fix
      RUBY-1613 Fixed 2.19.0
      JAVA-3120 Won't Fix
      CXX-1703 Blocked
      PHPC-1304 Won't Fix
      MOTOR-293 Works as Designed
      GODRIVER-689 Done
      CDRIVER-2900 Backlog
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion NODE-1792 Fixed 3.2.0 SCALA-482 Done PYTHON-1703 Won't Fix CSHARP-2451 Won't Fix PERL-1047 Won't Fix RUBY-1613 Fixed 2.19.0 JAVA-3120 Won't Fix CXX-1703 Blocked PHPC-1304 Won't Fix MOTOR-293 Works as Designed GODRIVER-689 Done CDRIVER-2900 Backlog

      All commands that write can accept write concern should have a standard way of reporting write concern errors. When a command succeeds but fails waiting for write concern, the command response indicates ok:1, but has a writeConcernError field. User management commands, however, report errors differently - a failed write concern for them causes the whole command to report ok:0.

      Drivers need to update handling of write concern errors by user management commands to be the same as any other command.

            Assignee:
            Unassigned Unassigned
            Reporter:
            greg.mckeon@mongodb.com Gregory McKeon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: