-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(sync.v2): improve readability and debugability
1. abstract functions and reshape the code, including error handling 2. extra call to notify CP the state of sync; 3. commit DB purge before full sync; 4. more debuging logs; 5. sync once retry will not count timeout as retry, allowing DP to sync deltas right after a full sync KAG-6177
- Loading branch information
1 parent
e9510e9
commit b18175b
Showing
1 changed file
with
156 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters