-
Notifications
You must be signed in to change notification settings - Fork 123
Make sure legacy queries are failed if gRPC message too large #1206
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1168,7 +1168,7 @@ async fn worker_restarted_in_middle_of_update() { | |
| // Allow it to start again, the second time | ||
| BARR.wait().await; | ||
| // Poke the workflow off the sticky queue to get it to complete faster than WFT timeout | ||
| WorkflowService::reset_sticky_task_queue( | ||
| let _ = WorkflowService::reset_sticky_task_queue( | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this grpc request fail now?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It could've always failed, it fails if the workflow is already closed (which, IMO, is weird, but whatever). Safe to ignore. |
||
| &mut client.clone(), | ||
| ResetStickyTaskQueueRequest { | ||
| namespace: client.namespace(), | ||
|
|
@@ -1179,8 +1179,7 @@ async fn worker_restarted_in_middle_of_update() { | |
| } | ||
| .into_request(), | ||
| ) | ||
| .await | ||
| .unwrap(); | ||
| .await; | ||
| }; | ||
| let run = async { | ||
| // This run attempt will get shut down | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.