Files
Will DuanandGitHub 08c28d8aba Fix State Based Replication handling backfill RetryReplication error (#6880)
## What changed?
<!-- Describe what has changed in this PR -->
1. Cap version history items when generating verify versioned transition
task, to avoid possibility where the events go further than mutable
state
2. Implement ExecutableTask BackFillEvents api, so we can have separate
logic for handling RetryReplication error in state base replication.
Otherwise, there is risk to apply events if share same Resend logic with
event based replication.
3. Correct VerifyVersionedTransition task backfill logic
4. fix deadlock on workflow_state_replicator
## Why?
<!-- Tell your future self why have you made these changes -->
bug fix on state based replication
## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
test will be added after implementation is agreed
## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
no risk. code path feature flag is not enabled.
## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->
n/a
## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
no
2024-11-27 11:13:26 -08:00
..