Skip to content

Properly abort sync on error - #611

Merged
TheOneRing merged 3 commits into
mainfrom
work/abort
Oct 21, 2025
Merged

TheOneRing merged 3 commits into
mainfrom
work/abort

Conversation

@TheOneRing

Copy link
Copy Markdown
Contributor

Fixes: #604

Copilot AI left a comment

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.

Pull Request Overview

This PR fixes issue #604 by properly handling sync abortion on fatal errors during the discovery phase. The key change is replacing inline error handling with a call to the existing abort() method.

Key Changes:

  • Simplified fatal error handling in the discovery phase by using the existing abort() method instead of inline finalization
  • Added a comment documenting that abort() can be called multiple times

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/libsync/syncengine.cpp Resolved
@TheOneRing
TheOneRing enabled auto-merge (rebase) October 21, 2025 13:24
@TheOneRing
TheOneRing merged commit 441a40b into main Oct 21, 2025
@TheOneRing
TheOneRing deleted the work/abort branch October 21, 2025 14:20
@openclouders openclouders mentioned this pull request Oct 21, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash sync v3.0.0-beta.3

2 participants