Skip to content

[FIXED] Increment source fails on failed persist, decrement on success#7909

Draft
MauriceVanVeen wants to merge 1 commit intomainfrom
maurice/retry-source-persist
Draft

[FIXED] Increment source fails on failed persist, decrement on success#7909
MauriceVanVeen wants to merge 1 commit intomainfrom
maurice/retry-source-persist

Conversation

@MauriceVanVeen
Copy link
Copy Markdown
Member

If a mirror/source fails to persist a message, it (almost) immediately retries to recreate the mirror/sourcing consumer instead of applying a backoff strategy like one that happens if the consumer create for these would fail.

This PR improves this by applying backoff if persisting for a message repeatedly fails. This PR also relates to #7853, and in that case fixes that the sourcing doesn't hammer on proposals if the Raft layer is being overrun.

Signed-off-by: Maurice van Veen github@mauricevanveen.com

@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner March 5, 2026 15:20
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8eb3e67b5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MauriceVanVeen MauriceVanVeen force-pushed the maurice/retry-source-persist branch from d8eb3e6 to 1fb9f1c Compare March 5, 2026 16:23
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1fb9f1c222

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen force-pushed the maurice/retry-source-persist branch from 1fb9f1c to 0448cad Compare March 5, 2026 17:37
@MauriceVanVeen MauriceVanVeen marked this pull request as draft March 6, 2026 06:41
@MauriceVanVeen
Copy link
Copy Markdown
Member Author

Need to add a test..

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.

1 participant