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

Do not send backfill task when event is empty #7130

Merged
merged 5 commits into from
Jan 22, 2025

Conversation

xwduan
Copy link
Contributor

@xwduan xwduan commented Jan 21, 2025

What changed?

Do not send backfill task when event is empty

Why?

Backfill tasks should always have associated events. If there is no event(i.e. for a state only transition), then no backfill to perform and we should skip the task

How did you test it?

n/a

Potential risks

n/a

Documentation

n/a

Is hotfix candidate?

no

@xwduan xwduan marked this pull request as ready for review January 21, 2025 23:29
@xwduan xwduan requested a review from a team as a code owner January 21, 2025 23:29
@xwduan xwduan merged commit b8b3cda into main Jan 22, 2025
50 checks passed
@xwduan xwduan deleted the willduan/fix_replication_task branch January 22, 2025 00:48
xwduan added a commit that referenced this pull request Jan 22, 2025
<!-- Describe what has changed in this PR -->
Do not send backfill task when event is empty
<!-- Tell your future self why have you made these changes -->
Backfill tasks should always have associated events. If there is no
event(i.e. for a state only transition), then no backfill to perform and
we should skip the task
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
n/a
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
n/a
<!-- 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/`? -->
n/a
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
no
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