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

Use context provided by request in rpc server #124

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

sebageek
Copy link
Collaborator

In the ml2 mechanism driver we used a pre-created RPC context object instead of the context object provided by the call itself. That means that all calls use the same request with the same request id, which makes tracing calls harder. In one instance this also lead to the DB connection of this object being broken, which rendered the context unusable for all subsequent calls. To prevent all of this, we're now using the context provided by the request.

In the ml2 mechanism driver we used a pre-created RPC context object
instead of the context object provided by the call itself. That means
that all calls use the same request with the same request id, which
makes tracing calls harder. In one instance this also lead to the DB
connection of this object being broken, which rendered the context
unusable for all subsequent calls. To prevent all of this, we're now
using the context provided by the request.
@sebageek sebageek merged commit 131acb4 into stable/yoga-m3 Jan 13, 2025
1 check passed
@sebageek sebageek deleted the ml2-rpc-api-use-provided-context branch January 13, 2025 13:44
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.

3 participants