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

Workers with java-sdk 1.18.0 experience "required property congestionInitialInterval not set" #1639

Closed
Spikhalskiy opened this issue Feb 2, 2023 · 0 comments · Fixed by #1636
Assignees
Labels
epic bug High-impact bug (e.g. mis-behaving causing issues to prod traffic)
Milestone

Comments

@Spikhalskiy
Copy link
Contributor

Actual Behavior

Workers experience the following exception when starting processing workflow tasks for workflow that require pagination to fetch the whole workflow history from the Server.
This causes stuck workflows as Workers are unable to finish replay.

IllegalStateException("required property congestionInitialInterval not set")

io.temporal.serviceclient.RpcRetryOptions.validate(RpcRetryOptions.java:486)
io.temporal.internal.retryer.GrpcRetryer$GrpcRetryerOptions.validate(GrpcRetryer.java:97)
io.temporal.internal.retryer.GrpcSyncRetryer.retry(GrpcSyncRetryer.java:42)
io.temporal.internal.retryer.GrpcRetryer.retryWithResult(GrpcRetryer.java:60)
io.temporal.internal.replay.ServiceWorkflowHistoryIterator.queryWorkflowExecutionHistory(ServiceWorkflowHistoryIterator.java:122)
io.temporal.internal.replay.ServiceWorkflowHistoryIterator.hasNext(ServiceWorkflowHistoryIterator.java:87)
io.temporal.internal.replay.ReplayWorkflowRunTaskHandler.applyServerHistory(ReplayWorkflowRunTaskHandler.java:218)
io.temporal.internal.replay.ReplayWorkflowRunTaskHandler.handleWorkflowTaskImpl(ReplayWorkflowRunTaskHandler.java:204)
io.temporal.internal.replay.ReplayWorkflowRunTaskHandler.handleWorkflowTask(ReplayWorkflowRunTaskHandler.java:153)
io.temporal.internal.replay.ReplayWorkflowTaskHandler.handleWorkflowTaskWithQuery(ReplayWorkflowTaskHandler.java:131)
io.temporal.internal.replay.ReplayWorkflowTaskHandler.handleWorkflowTask(ReplayWorkflowTaskHandler.java:96)
io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.handleTask(WorkflowWorker.java:337)
io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.handle(WorkflowWorker.java:247)
io.temporal.internal.worker.WorkflowWorker$TaskHandlerImpl.handle(WorkflowWorker.java:189)
io.temporal.internal.worker.PollTaskExecutor.lambda$process$0(PollTaskExecutor.java:103)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.base/java.lang.Thread.run(Unknown Source),

Introduced in java-sdk v1.18.1

@Spikhalskiy Spikhalskiy self-assigned this Feb 2, 2023
@Spikhalskiy Spikhalskiy added the epic bug High-impact bug (e.g. mis-behaving causing issues to prod traffic) label Feb 2, 2023
@Spikhalskiy Spikhalskiy added this to the 1.18.1 milestone Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic bug High-impact bug (e.g. mis-behaving causing issues to prod traffic)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant