temporal
temporal copied to clipboard
Add revision number to Version Data
What changed?
Add revision number to Worker Deployment Version Data that is synced to Task Queues.
Why?
This allows making task queue registration also async, but more importantly, it prevent's race conditions between concurrent registrations, setCurrent/Ramping, drainage, and deletion.
How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [x] added new unit test(s)
- [ ] added new functional test(s)
Potential risks
None.