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

Non transient context objects for ThreadContext #53909

Open
rjernst opened this issue Mar 20, 2020 · 1 comment
Open

Non transient context objects for ThreadContext #53909

rjernst opened this issue Mar 20, 2020 · 1 comment
Labels
:Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team

Comments

@rjernst
Copy link
Member

rjernst commented Mar 20, 2020

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
@rjernst rjernst added :Core/Infra/Core Core issues without another label team-discuss labels Mar 20, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

rjernst added a commit to rjernst/elasticsearch that referenced this issue Mar 20, 2020
This reverts commit 4c0e8f1.

It should be re-added once elastic#53909 is addressed.
rjernst added a commit that referenced this issue Mar 23, 2020
This reverts commit 4c0e8f1.

It should be re-added once #53909 is addressed.
@jaymode jaymode self-assigned this Apr 7, 2020
@rjernst rjernst added the Team:Core/Infra Meta label for core/infra team label May 4, 2020
@rjernst rjernst added the needs:triage Requires assignment of a team area label label Dec 3, 2020
@pgomulka pgomulka removed the needs:triage Requires assignment of a team area label label Dec 10, 2020
@jaymode jaymode removed their assignment Sep 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

4 participants