Skip to content

Conversation

W-A-James
Copy link
Contributor

@W-A-James W-A-James commented Jun 7, 2021

Description

Changed events for Command monitoring to hold copies of the commands instead of the commands themselves to prevent changing state in event monitoring by modifying extractCommand function in src/cmap/command_monitoring_events.ts

What changed?

  • src/cmap/command_monitoring_events.ts
  • test/functional/apm.test.js
  • test/functional/multiple_db.test.js
  • test/unit/cmap/command_monitoring_events.test.js

@W-A-James W-A-James requested review from emadum and nbbeeken June 8, 2021 13:45
@W-A-James W-A-James requested a review from nbbeeken June 10, 2021 19:05
@W-A-James W-A-James force-pushed the NODE-1502/4.0/Command-monitoring-commands-should-be-copies branch from 1616ec2 to b6c58ae Compare June 11, 2021 20:14
@nbbeeken nbbeeken requested review from dariakp and durran June 11, 2021 20:17
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nbbeeken nbbeeken merged commit a2887db into 4.0 Jun 14, 2021
@nbbeeken nbbeeken deleted the NODE-1502/4.0/Command-monitoring-commands-should-be-copies branch June 14, 2021 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants