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

Workflow cannot be terminated #6638

Open
AZAZELPE opened this issue Oct 10, 2024 · 3 comments
Open

Workflow cannot be terminated #6638

AZAZELPE opened this issue Oct 10, 2024 · 3 comments
Assignees

Comments

@AZAZELPE
Copy link

Expected Behavior

  1. Go to Temporal UI
  2. Select the workflow from the list
  3. Click Terminate [workflow]
  4. Workflow terminated

Actual Behavior

  1. Go to Temporal UI
  2. Select the workflow from the list
  3. Click Terminate [workflow]
  4. Error message -> cannot terminate workflow

Steps to Reproduce the Problem

  1. Create a workflow.
  2. Start the workflow with a transaction size greater than limit of 4MB.
  3. Try to terminate workflow. (ERROR)

Specifications

  • Version: 2.19
  • Platform: Self-hosted

Error messages on the Temporal Server that are shown many times

{"level":"error","ts":"2024-09-26T16:32:30.826Z","msg":"Operation failed with internal error.","error":"transaction size of 5074977 bytes exceeds limit of 4194304 bytes","operation":"UpdateWorkflowExecution","logging-call-at":"persistenceMetricClients.go:1163","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/builder/temporal/common/log/zap_logger.go:144\ngo.temporal.io/server/common/persistence.updateErrorMetric\n\t/home/builder/temporal/common/persistence/persistenceMetricClients.go:1163\ngo.temporal.io/server/common/persistence.(*metricEmitter).recordRequestMetrics\n\t/home/builder/temporal/common/persistence/persistenceMetricClients.go:1140\ngo.temporal.io/server/common/persistence.(*executionPersistenceClient).UpdateWorkflowExecution.func1\n\t/home/builder/temporal/common/persistence/persistenceMetricClients.go:243\ngo.temporal.io/server/common/persistence.(*executionPersistenceClient).UpdateWorkflowExecution\n\t/home/builder/temporal/common/persistence/persistenceMetricClients.go:245\ngo.temporal.io/server/common/persistence.(*executionRetryablePersistenceClient).UpdateWorkflowExecution.func1\n\t/home/builder/temporal/common/persistence/persistenceRetryableClients.go:258\ngo.temporal.io/server/common/backoff.ThrottleRetryContext\n\t/home/builder/temporal/common/backoff/retry.go:194\ngo.temporal.io/server/common/persistence.
[....]

and also

{"level":"error","ts":"2024-09-26T16:32:30.827Z","msg":"Update workflow execution operation failed.","shard-id":1,"address":"10.0.221.155:7234","wf-namespace-id":"66e88c5d-4ba5-44e2-b1c2-84e812375fc4","wf-id":"import-2b46bd7f-66fb-4693-a14e-411ec22d7adc-7f158055-c6dc-48bf-93ef-354380522481","wf-run-id":"e4e45073-2a8b-4c84-884c-e0946b60bbb7","store-operation":"update-wf-execution","error":"transaction size of 5074977 bytes exceeds limit of 4194304 bytes","logging-call-at":"transaction_impl.go:455","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/builder/temporal/common/log/zap_logger.go:144\ngo.temporal.io/server/service/history/workflow.updateWorkflowExecution\n\t/home/builder/temporal/service/history/workflow/transaction_impl.go:455\ngo.temporal.io/server/service/history/workflow.
[...]
@bergundy
Copy link
Member

What server version are you running?

@AZAZELPE
Copy link
Author

Version 1.19

@bergundy
Copy link
Member

bergundy commented Nov 6, 2024

Thanks, we'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants