Add databaseName property to command events

XMLWordPrintableJSON

    • 2
    • Hide

      DRIVERS-2452:

      Show
      DRIVERS-2452 : 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
    • Not Needed
    • None
    • Needed
    • Hide

      Update the docs for the upcoming driver version (6.18) docs for command logging and monitoring: CommandSucceededEvent and CommandFailedEvent events now have a databaseName property.

      Show
      Update the docs for the upcoming driver version (6.18) docs for command logging and monitoring : CommandSucceededEvent and CommandFailedEvent events now have a databaseName property.
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-2452, please see that ticket for a detailed description.


      Like Neal mentioned in the comments, databaseName has been added to logging events already. This only applies to monitoring events.

      AC

      • Update the UTR to support matching databaseNames for command failed/succeeded events.
      • Add `databaseName` as a public property on command succeeded / failed events.
      • Sync spec tests and ensure all logging spec tests are sync'd as well.

              Assignee:
              Bailey Pearson
              Reporter:
              TPM Jira Automations Bot
              Daria Pardue
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: