Skip to content

fix(indexer): make controller sync non-blocking for processing commit#401

Merged
Larkooo merged 1 commit into
mainfrom
fix/non-blocking-controller-sync
Jan 19, 2026
Merged

fix(indexer): make controller sync non-blocking for processing commit#401
Larkooo merged 1 commit into
mainfrom
fix/non-blocking-controller-sync

Conversation

@Larkooo

@Larkooo Larkooo commented Jan 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Controller sync failures now only log errors instead of propagating them, allowing the main processing to be committed regardless of controller sync status.

Changes

  • Changed join_controllers_sync to return () instead of Result
  • Removed unused ControllerSync error variant from error.rs
  • Added error metrics for controller sync failures

Behavior Change

Before: If controller sync failed, it would return an error, prevent storage.execute() from being called, and cause the processing to be rolled back.

After: If controller sync fails, it will log the error, increment the error counter metric, and continue with storage.execute() to commit the processing. Processing is no longer affected by controller sync failures.

Controller sync failures now only log errors instead of propagating them,
allowing the main processing to be committed regardless of controller sync status.

- Changed join_controllers_sync to return () instead of Result
- Removed unused ControllerSync error variant
- Added error metrics for controller sync failures
@Larkooo Larkooo merged commit 4bae176 into main Jan 19, 2026
3 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.

1 participant