mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
Add activity retry policy properties to replication (#7055)
## What changed? <!-- Describe what has changed in this PR --> Add the following activity retry policy properties to the activity replication logic: * InitialInterval * MaximumInterval * MaximumAttempts * BackoffCoefficient ## Why? <!-- Tell your future self why have you made these changes --> Before there was assumption that activity retry policy can't change. Because of that it was not replicated. Now we can change activity retry policy via UpdateActivity API. Those changes should be replicated. ## How did you test it? <!-- How have you verified this change? Tested locally? Added a unit test? Checked in staging env? --> Add func tests that check few updated properties. ## Potential risks <!-- Assuming the worst case, what can be broken when deploying this change to production? --> Increasing replication size. ## 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
This commit is contained in: