Skip to content

Context deadline propagation should cascade #1205

@louiscryan

Description

@louiscryan

When a server receives an RPC with a deadline, does work and issues RPCs as part of the contract of fulfilling that outer RPC then those inner RPCs should carry the outer deadline to the downstream servers.

Deadlines should be propagated explicitly in metadata for logging purposes as well as being propagated by cascading cancellation via Context.

Relatedly it should be simple for servers to opt out of deadline propagation when use-cases demand it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions