uber / cadence

Cadence is a distributed, scalable, durable, and highly available orchestration engine to execute asynchronous long-running business logic in a scalable and resilient way.
https://cadenceworkflow.io
MIT License
8.22k stars 791 forks source link

TaskList need to clean leaky metadata #380

Open vancexu opened 6 years ago

vancexu commented 6 years ago

Server can leak decision task metadata (type = 0, taskid = -12345) if there are no pollers. Need to have a way to clean those left tasks.

dmetzgar commented 5 years ago

@vancexu is this still valid? Can we close it?

vancexu commented 5 years ago

I think this issue is still there, but relatively not important/urgent, since it's a rare case there are only tasklist but no pollers. One way to fix is to add some sort of scanning, which I think is on the road map.