Files
Yichao YangandGitHub b8006bf0c5 Sync HSM Task (#6145)
## What changed?
<!-- Describe what has changed in this PR -->
- Add a new replication task type for sync HSM states when there's no
history events associated with the state transition.
- This task is only supported in streaming replication. It will go
directly to DLQ with the old replication stack.
- This task will only be used for the short term nexus replication
solution and will be deprecated once the state based replication is
fully implemented.

Some minor fixes:
- Fixed empty startEventID check in getRawHistoryV2 api
- Rename helper methods in ActivityStateReplicatorImpl from testXXX to
compareXXX.

## Why?
<!-- Tell your future self why have you made these changes -->
- Sync state only hsm changes

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
- Unit test
- Functional tests will be added in a separate PR

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## 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/`? -->

## 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-06-20 14:59:23 -07:00
..
2024-06-20 14:59:23 -07:00