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
Fix pubsub metadata conflict #7421
Conversation
This run proves that the E2E test changes repro the issue (using a custom contrib version that has Redis handling metadata): https://github.com/dapr/dapr/actions/runs/7596929989/job/20691187869 |
6cde381
to
f9ebd03
Compare
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
f9ebd03
to
5778e35
Compare
This reverts commit 20b60a0. Signed-off-by: Artur Souza <asouza.pro@gmail.com>
5778e35
to
dba7cc7
Compare
PR is ready for review WITHOUT the Redis change. It means the E2E test will always pass, regardless of the bug being present or not because Redis just drops the metadata. |
Once Redis has this feature in 1.14, the E2E test will do its intended purpose. I tested this with an override pointing to my contrib fork. So, the E2E test is confirmed to repro the issue once Redis handles metadata. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #7421 +/- ##
=======================================
Coverage 62.34% 62.35%
=======================================
Files 240 240
Lines 22053 22058 +5
=======================================
+ Hits 13750 13755 +5
- Misses 7160 7161 +1
+ Partials 1143 1142 -1 ☔ View full report in Codecov by Sentry. |
* Temporary override to have Redis to handle event metadata. Signed-off-by: Artur Souza <asouza.pro@gmail.com> * E2E test change to reproduce HTTP header conflict in pubsub. Signed-off-by: Artur Souza <asouza.pro@gmail.com> * E2E test for content-length conflict with gRPC subscriber. Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Hotfix to avoid content-length header conflict in HTTP and gRPC. Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Revert "Temporary override to have Redis to handle event metadata." This reverts commit 20b60a0. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com>
* Temporary override to have Redis to handle event metadata. * E2E test change to reproduce HTTP header conflict in pubsub. * E2E test for content-length conflict with gRPC subscriber. * Hotfix to avoid content-length header conflict in HTTP and gRPC. * Revert "Temporary override to have Redis to handle event metadata." This reverts commit 20b60a0. --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Description
Fix issue where pubsub event metadata can conflict with gRPC metadata and make the message undeliverable.
Issue reference
Please reference the issue this PR will close: #7413
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: