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

Add databaseName property to command events

    • Needed
    • Hide
      Show
      Sync changes from commits https://github.com/mongodb/specifications/commit/e7ee829329400786e01279b4f37d4e440d1e9cfa https://github.com/mongodb/specifications/commit/6b267ddc7cca303a722d2893106fad4810709f06 add the databaseName field to expectedCommandEvent.CommandFailedEvent and expectedCommandEvent.CommandSucceededEvent add "database name" to the "command failed" and "command succeeded" log messages update unified tests reflecting the changes
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4572 Fixed 1.27.0
      CXX-2651 Backlog
      CSHARP-4520 Done 2.21.0
      GODRIVER-2752 Fixed 1.13.0, 1.13.1
      JAVA-4875 Fixed 4.11.0
      NODE-5055 Backlog
      MOTOR-1094 Duplicate
      PYTHON-3598 Done 4.6
      PHPLIB-1080 Fixed 1.20.0
      RUBY-3220 Backlog
      RUST-1599 Backlog
      SWIFT-1702 Won't Do
      PHPC-2255 Fixed 1.19.0
      $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 CDRIVER-4572 Fixed 1.27.0 CXX-2651 Backlog CSHARP-4520 Done 2.21.0 GODRIVER-2752 Fixed 1.13.0, 1.13.1 JAVA-4875 Fixed 4.11.0 NODE-5055 Backlog MOTOR-1094 Duplicate PYTHON-3598 Done 4.6 PHPLIB-1080 Fixed 1.20.0 RUBY-3220 Backlog RUST-1599 Backlog SWIFT-1702 Won't Do PHPC-2255 Fixed 1.19.0

      Original Go ticket report:
      GODRIVER-1761 requests that a databaseName property be added to CommandFailedEvent because storing the corresponding CommandStartedEvent and then retrieving it via the requestId field requires keeping a thread-safe map and the user says that this hurts their performance in highly concurrent applications.

      Original DRIVERS ticket that was closed (for context): DRIVERS-1409.

      It was decided during triage of DRIVERS-1409 that we just want to do this for databaseName only and nothing more, so we are closing that out and creating this ticket just to do databaseName.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            tom.selander@mongodb.com Tom Selander
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: