Questions tagged [uber-cadence]
90 questions
0
votes
1 answer
Problems with Cadence-Cassandra when searching for closed workflows
We have encountered a longstanding issue related to Cadence and Cassandra.
When making a request to retrieve a list of closed workflows (either "closed" or "completed") via Cadence-web or cli cadence-fronted, one or two nodes from the Cassandra…

Anush Chinoyan
- 1
- 1
0
votes
0 answers
Are there any pros and cons for code maintenance when using the default settings of the Cadence Versioning API?
I've heard that using the Cadence versioning API with the default settings can have both positive and negative consequences for code maintenance depending on how you want to use it. Can anyone briefly summarise the pros and cons of this?
Thanks!

Sharan Foga
- 135
- 8
0
votes
1 answer
What is Replay in Cadence/Temporal workflow?
What is Replay in Cadence/Temporal workflow? Is it the same as "retry"?
Why can't I simply use my own logger in workflow code due to replay?

Long Quanzheng
- 2,076
- 1
- 10
- 22
0
votes
1 answer
Automatic heart-beat of Cadence workflow/activity
We have registered the activities with auto-heartbeat configuration EnableAutoHeartBeat: true and also configured the activity option config HeartbeatTimeout: 15Min in the activity implementation.
Do we still need to explicitly send heart-beat…
0
votes
1 answer
Does cadence have any mechanism to ensure that the entire execution process of workflow decision falls on the same workflow worker?
If the decision task is acquired by a workflow worker that has never been executed, doesn't it mean that he has to pull the historical state from the cadence service to restore it and then execute the decision task this time. Wouldn't it be very…

ericqzhao
- 21
- 2
0
votes
2 answers
how to reset a cadence workflow with client sdk?
i have a cadence workflow with 3 activities. Scenario. the first activity is completed while executing second, the workflow failed after retry limit reached. now the problem has been fixed. how can i restart the failed workflow.
i have read this…

jackxu
- 1
- 2
0
votes
1 answer
Removing cadence workflow and activity timeout
I'm writing a project that uses cadence workflows (cadence client 3.6.2)
And I was watching a talk by maxim fateev in 2018 that mentions that cadence workflows are virtual objects and it is better not to think of them as processes that have a start…

Nader Kahwaji
- 137
- 9
0
votes
0 answers
Cadence cron workflow disappearing from workflow list after 24 hours, but still running
I've setup a Cadence cron workflow to execute on a specific day of each month. After registering the workflow with:
cadence --address localhost:7933 \
--domain domain-name workflow start --tl TaskListName \
--wt WorkflowTypeName --dt 60 --et 60…

Stéphane Lam
- 107
- 2
- 8
0
votes
2 answers
How to detect if an older Cadence version is still running in Production and safe to delete?
What is the best mechanism to detect if an older Cadence version branch is still running in Production and safe to delete? It seems like Cadence’s logger is idempotent and won’t log > 1 time, so there is no way to tell from logs/data that a…

Sharan Foga
- 135
- 8
0
votes
0 answers
Cadence activity task not retrying even after providing retry configuration
Cadence server version: 0.19.2
I have made following observation: I have a Job workflow that triggers encoding workflow (child workflow) which has an activity to handle encoding status. I have supplied retry configuration and heartbeat configuration…

Tarun Singhal
- 15
- 3
0
votes
1 answer
Is it inefficient for cadence to use the database to implement scheduled tasks?
The scheduled tasks of cadence are stored in the database, so the problem of database polling must be involved. As the amount of data increases, how does cadence improve the query efficiency and the accuracy of delay time?

ericqzhao
- 21
- 2
0
votes
1 answer
docker connect cockroachDB failed
I'm using docker to start cadence server, but I can't connect to my cockroachDB, the following error occurs.
How can I resolve this problem?

yiqianlingyihao
- 21
- 1
0
votes
2 answers
will a workflow be executed by multiple workflow workers at the same time?
Under normal circumstances, will a workflow be executed by multiple workflow workers at the same time? Because multiple workflow workers can polldecision tasks to execute, if not, how does he do it?

ericqzhao
- 21
- 2
0
votes
2 answers
Why private members are not passed from Cadence activities?
I noticed that when I use a struct consisting of both public and private members, then the private ones are not copied(?) by Cadence activities.
For example I have a struct:
package foo
type Foo struct {
Name string
PublicList …

trivelt
- 1,913
- 3
- 22
- 44
0
votes
1 answer
Whether the workflow worker in uber-cadence has control of the number of coroutines?
If the workflow executes for a long time (for example, the workflow executes sleep), will a large number of coroutines be generated?

ericqzhao
- 21
- 2