I have a CassandraActivity
which does all the C* work for my app. I have a specific Worker and TaskQueue that are only used for CassandraActivity
.
Let’s say I have two instances deployed, and the connection to C* goes down on one of those instances. If I was using a synchronous API instead of Temporal, I could have the instance mark itself as UNHEALTHY, and a VIP could stop sending traffic to that instance as long as C* down. Is there an equivalent in Temporal, where the worker for CassandraActivity
stops picking up tasks as long as its critical C* dependency is unhealthy?
I understand that even if a worker picks up a CassandraActivity
task and it fails, there’s no harm done. The activity will retry on various workers until it eventually passes. However, I’m trying to figure out if there’s a way to avoid this failure in the first place.