mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? 1. Active cluster — capture time-skipping state changes for replication using `timeSkippingInfoUpdated`, `ms.isStateDirty()`, `cleanupTransaction` and `TimeSkippingInfo.LastUpdateVersionedTransition`. 2. Active & passive — idempotent timer-task regeneration - Active: only when a skip transition was emitted this transaction. - Passive (PartialRefresh, state-based replication): only when TimeSkippingInfo.LastUpdateVersionedTransition >= minVersionedTransition. 3. Passive cluster — time-skipping timer-task executor The standby's regenerated TimeSkippingTimerTask fires through executeTimeSkippingTimerTask. If the associated FastForwardInfo is still the active, the standby awaits the replicated transition rather than driving it. ## Why? the goal is to make sure time skipping works correctly during failovers with state-based replication ## How did you test it? - [x] built - [ ] run locally and tested manually - [x] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s)