Skip to content

No panic on oplog logic errors#3471

Merged
vigoo merged 3 commits into
mainfrom
survive-oplog-logic-error
May 19, 2026
Merged

No panic on oplog logic errors#3471
vigoo merged 3 commits into
mainfrom
survive-oplog-logic-error

Conversation

@vigoo
Copy link
Copy Markdown
Contributor

@vigoo vigoo commented May 19, 2026

Makes several oplog-read / deserialization / unexpected error entries into agent errors instead of panics. The faulty agent can be then examined and fixed with revert.

}

pub async fn get_handle(&self) -> &PromiseHandle {
pub async fn get_handle(&self) -> Result<&PromiseHandle, &String> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this intentionally &String and not &str?

@vigoo vigoo merged commit 530fc3e into main May 19, 2026
51 checks passed
@vigoo vigoo deleted the survive-oplog-logic-error branch May 19, 2026 17:32
@github-actions github-actions Bot locked and limited conversation to collaborators May 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants