Skip to content
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

Add heartbeat handling to key iteration #203

Merged
merged 2 commits into from
Feb 5, 2025
Merged

Add heartbeat handling to key iteration #203

merged 2 commits into from
Feb 5, 2025

Conversation

aricart
Copy link
Member

@aricart aricart commented Feb 4, 2025

Introduce a heartbeat case to handle key iteration status updates. This ensures proper key fetching and stops the iteration appropriately upon receiving a heartbeat.

Introduce a heartbeat case to handle key iteration status updates. This ensures proper key fetching and stops the iteration appropriately upon receiving a heartbeat.

Signed-off-by: Alberto Ricart <[email protected]>
@aricart
Copy link
Member Author

aricart commented Feb 4, 2025

Also added the same strategy for history, as this is the same condition - these walks are supposed to end once all values are inspected, and if the stream is purged, this calls could stall.

Copy link
Member

@MauriceVanVeen MauriceVanVeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aricart aricart merged commit 47338f4 into main Feb 5, 2025
25 checks passed
@aricart aricart deleted the kv-keys branch February 5, 2025 14:30
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