Files
Will DuanandGitHub 232820a8cb Fix State based replication first task handling (#7754)
## What changed?
Fix State based replication first task handling
## Why?
Previously, we made an assumption that it is always safe to return
mutation for first replication task, but it is not true.
When there is replication lag, the workflow may make some progress and
tombstone batch is capped. If we still blindly return mutation,
completed statemachine may still looked pending on the passive side.
## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks
No risk, the feature is not launched yet.
2025-05-12 17:57:43 -07:00
..