Skip to content

[Backport 2.x] Create concept of persistent ThreadContext headers that are unstashable (#8291)#8507

Merged
reta merged 1 commit intoopensearch-project:2.xfrom
cwperks:backport-8291-2.x
Jul 6, 2023
Merged

[Backport 2.x] Create concept of persistent ThreadContext headers that are unstashable (#8291)#8507
reta merged 1 commit intoopensearch-project:2.xfrom
cwperks:backport-8291-2.x

Conversation

@cwperks
Copy link
Member

@cwperks cwperks commented Jul 6, 2023

Backport #8291 to 2.x

…le (opensearch-project#8291)

* Add unstashable section of a threadcontext by adding ability to put and get durable headers and transient headers

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Add CHANGELOG entry

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Remove new lines from top of CHANGELOG

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Only one threadLocal

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Update CHANGELOG

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Single putPersistent and getPersistent

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Remove unnecessary line

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Chain putPersistent

Signed-off-by: Craig Perkins <cwperx@amazon.com>

---------

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
(cherry picked from commit 2f9728e)
@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.cluster.allocation.ClusterRerouteIT.testDelayWithALargeAmountOfShards

@reta reta merged commit 6419cf9 into opensearch-project:2.x Jul 6, 2023
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