-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tso: improve skipping sync condition and add more logs (#7139)
close #7138 Only skip the sync if the following conditions are met: 1. The timestamp in memory has been initialized. 2. The last saved timestamp in etcd is not zero. 3. The last saved timestamp in memory is not zero. 4. The last saved timestamp in etcd is equal to the last saved timestamp in memory. Signed-off-by: JmPotato <[email protected]> Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
3c632b1
commit 7e6cd0a
Showing
1 changed file
with
34 additions
and
10 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