Skip to content

Conversation

@olavloite
Copy link
Collaborator

Create a derived context of the original gRPC context when creating a context that is used for the actual statement execution. This ensures that any values in the original gRPC context is also available in the query context. The context.WithoutCancel(..) function ensures that cancelling either the derived or the parent context does not affect the other.

@olavloite olavloite requested a review from a team as a code owner October 23, 2025 16:38
@olavloite olavloite force-pushed the spanner-lib-grpc-server-created-derived-context branch 4 times, most recently from 962e84b to a4f39e9 Compare October 26, 2025 11:35
Create a derived context of the original gRPC context when creating a context
that is used for the actual statement execution. This ensures that any values
in the original gRPC context is also available in the query context. The
context.WithoutCancel(..) function ensures that cancelling either the derived
or the parent context does not affect the other.
@olavloite olavloite force-pushed the spanner-lib-grpc-server-created-derived-context branch from a4f39e9 to b9beeea Compare October 27, 2025 09:58
@olavloite
Copy link
Collaborator Author

Superseded by #578

@olavloite olavloite closed this Oct 27, 2025
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