Comments (2)
On the subject of segregating responsibility across different workers, and potentially related to #321 (comment)
Does it make sense for workers to intentionally skip workflows they don't know about themselves? Right now, the workflow is marked as failed. But if you had two deployments, one meant to handle workflows Foo and Bar, and another meant to execute workflow Baz, you'd want each deployment to ignore workflows intended for the other.
Also, supposing there are multiple worker instances in a scaled deployment, and one deploys to a new version minutes before the other. (blue-green deploys or merely slow instance rollout) You might have a time where the new version is creating (sub)workflow instance that the old version polls for but doesn't recognize. I believe the old version would immediately mark these unrecognized workflows into an error state; they'd never be executed.
from go-workflows.
Implement in #351
from go-workflows.
Related Issues (20)
- Use custom converter for `workflow.Metadata`
- Create-And-Signal Race
- Bug: Redis diagnostics show no workflows
- Replay logger doesn't work when using `.With` or `.WithGroup`
- Cleaner handling of context cancellation during worker shutdown
- Remove workflow instance data immediately when using `ContinueAsNew` HOT 1
- Cassandra backend
- UI errors when workflow has been created but not started executing HOT 2
- Display size and contents of workflow and activity queues in diag UI
- Display workflow instance hierarchy as sequence diagram
- Support `WithCancelCause` and `Len` for `workflow.Context`
- Improve tracing
- Improve JSON output in web UI
- UI should label workflows that finished with an error; visually distinct from green "Completed"
- Workers should ignore unrecognized workflows and activities instead of closing them as failed HOT 1
- Signal behavior
- Pagination not working in diag UI HOT 1
- Export `GetWorkflowInstanceState` in client
- Support different queues for workflows and activities HOT 1
- Investigate whether to adopt `iter` package HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-workflows.