Skip to content

Conversation

@zxh326
Copy link
Member

@zxh326 zxh326 commented Jan 7, 2026

No description provided.

@zxh326 zxh326 requested a review from Copilot January 7, 2026 10:04
Signed-off-by: Xuhui zhang <[email protected]>
@zxh326 zxh326 changed the title chore: optimize sync reconciler chore: optimize sync stats update Jan 7, 2026
@zxh326 zxh326 requested a review from zwwhdls January 7, 2026 10:08
Copy link

Copilot AI left a comment

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 optimizes the sync reconciler by improving error handling and adding metrics validation to prevent errors when required metrics are unavailable.

  • Refactored error handling in the Reconcile method to explicitly check for NotFound errors
  • Added error logging and validation in calculateSyncStats to handle missing metrics gracefully

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zxh326 zxh326 merged commit 4116b0a into main Jan 8, 2026
3 checks passed
@zxh326 zxh326 deleted the optimize-sync-controller branch January 8, 2026 02:03
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.

3 participants