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

[server] Produce heartbeat to separate RT topic #1537

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

sixpluszero
Copy link
Contributor

@sixpluszero sixpluszero commented Feb 14, 2025

[server] Produce heartbeat to separate RT topic

Produce heartbeat to separate RT topic at the same time as producing to RT.
This is needed in the edge case where if the rewind time is shorter than the
previous separate RT write, there will be no data to replay in separate RT,
and the ready-to-serve check will never pass because no offset has been
persisted for the separate RT region.

How was this PR tested?

Add test in integration test. Without this patch, due to short rewind time in test setup, it will fail complete new push.

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

@sixpluszero sixpluszero marked this pull request as ready for review February 14, 2025 07:39
Copy link
Collaborator

@sushantmane sushantmane left a comment

Choose a reason for hiding this comment

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

Few comments but overall LGTM! Thanks, @sixpluszero!

Copy link
Contributor

@gaojieliu gaojieliu left a comment

Choose a reason for hiding this comment

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

Looks good overall, left one minor comment.

Copy link
Collaborator

@sushantmane sushantmane left a comment

Choose a reason for hiding this comment

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

Thanks, @sixpluszero!

@sixpluszero sixpluszero merged commit e05e625 into linkedin:main Feb 14, 2025
58 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.

3 participants