Skip to content

Non transient context objects for ThreadContext #53909

Open
@rjernst

Description

@rjernst

ThreadContext currently provides a means of transferring headers from an incoming request through to alternate worker threads. Some internal services could use the ability to attach arbitrary objects instead manipulating string headers.

Some things that may be able to make use of such general object attachment:

  • system indices, to pass patterns allowed for system indices through a request
  • licensing, to pass through a frozen license state so swapping a license mid request does not result in undefined behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CoreCore issues without another labelTeam:Core/InfraMeta label for core/infra team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions