Skip to content

Defer sendLocalReply() to prevent reentrant calls.#249

Merged
istio-testing merged 2 commits intoistio:release-1.7from
PiotrSikora:defer_send_local_reply-istio-1.7
Aug 4, 2020
Merged

Defer sendLocalReply() to prevent reentrant calls.#249
istio-testing merged 2 commits intoistio:release-1.7from
PiotrSikora:defer_send_local_reply-istio-1.7

Conversation

@PiotrSikora
Copy link
Copy Markdown

This was previously fixed in envoyproxy/envoy-wasm#432, but got somehow lost.

Signed-off-by: Piotr Sikora piotrsikora@google.com

This was previously fixed in envoyproxy/envoy-wasm#432, but got somehow lost.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
@istio-testing
Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@PiotrSikora
Copy link
Copy Markdown
Author

/test all

@PiotrSikora PiotrSikora marked this pull request as ready for review August 3, 2020 01:29
@PiotrSikora PiotrSikora requested a review from jplevyak August 3, 2020 01:29
@PiotrSikora
Copy link
Copy Markdown
Author

This is a backport of envoyproxy/envoy-wasm#597, please do not merge until it's merged.

/wait

@PiotrSikora
Copy link
Copy Markdown
Author

/test test-tsan_envoy_release-1.7

4 similar comments
@PiotrSikora
Copy link
Copy Markdown
Author

/test test-tsan_envoy_release-1.7

@PiotrSikora
Copy link
Copy Markdown
Author

/test test-tsan_envoy_release-1.7

@PiotrSikora
Copy link
Copy Markdown
Author

/test test-tsan_envoy_release-1.7

@PiotrSikora
Copy link
Copy Markdown
Author

/test test-tsan_envoy_release-1.7

@lambdai
Copy link
Copy Markdown

lambdai commented Aug 3, 2020

@PiotrSikora The Context::sendLocalResponse which wraps your changes is supposed to be run in defer. Do you really need a defer during defer?

@PiotrSikora
Copy link
Copy Markdown
Author

@PiotrSikora The Context::sendLocalResponse which wraps your changes is supposed to be run in defer. Do you really need a defer during defer?

I don't believe that's the case. Where did you get that from? cc @jplevyak

@PiotrSikora
Copy link
Copy Markdown
Author

@lambdai also, let's discuss this on the original PR: envoyproxy/envoy-wasm#597

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
@istio-testing istio-testing merged commit bd67b8f into istio:release-1.7 Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants