Skip to content

Reprioritize responses of GetReplicationMessagesResponse in history #6710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

arzonus
Copy link
Contributor

@arzonus arzonus commented Mar 4, 2025

What changed?
In case of a shrunk response to the GetReplicationMessages call, the history service will give priority to shard messages with the older creation time of replication tasks.

Why?
The PR continues the changes done in the previous PR #6696.

How did you test it?

  • Unit tests
  • Manual testing on staging envs

Potential risks
Potentially other shards without big replication tasks may experience some bigger delays due to giving prioritization to older shards.

Release notes

Documentation Changes

@arzonus arzonus force-pushed the fix-replication-messages-not-fit-in-response-history-handler branch from 2331000 to 835c8cd Compare March 5, 2025 14:10
@arzonus arzonus merged commit 8e1e031 into cadence-workflow:master Mar 5, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants