Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUST-956 Include service_id in relevant events #469

Merged
merged 2 commits into from
Sep 23, 2021

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Sep 21, 2021

RUST-956

Some events need the service_id of the backend behind the load balancer; this adds those. For the Command* events, this would have fit better in the ConnectionInfo struct, but unfortunately that's not marked non_exhaustive so that would be a breaking change :(

Whichever of this or #465 is merged later will need to include the (trivial) event matching code for this field.

@abr-egn abr-egn force-pushed the RUST-956/serviceid-event branch from 173b063 to 3797331 Compare September 21, 2021 16:34
Copy link
Contributor

@patrickfreed patrickfreed left a comment

Choose a reason for hiding this comment

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

Ah, too bad about ConnectionInfo not being non_exhaustive, we must have missed that one when combing over the public structs unfortunately.

@abr-egn abr-egn force-pushed the RUST-956/serviceid-event branch from 3797331 to 3709615 Compare September 23, 2021 13:47
@abr-egn abr-egn merged commit d7569ec into mongodb:master Sep 23, 2021
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.

2 participants