feat: add live sync retry backoff
This commit is contained in:
parent
24a0a3d153
commit
2dce1f41cf
8 changed files with 225 additions and 31 deletions
11
README.md
11
README.md
|
|
@ -584,10 +584,13 @@ The daemon also runs best-effort live sync for imported peers. `geth sync now
|
|||
[node]` triggers the same sync pass immediately, and `geth sync status` reports
|
||||
the last local attempt, success, cursor, import count, rejection count, and
|
||||
error per peer stream. `geth sync status --json` also includes per-stream
|
||||
`state`, `stale`, `stale_after_ms`, and `next_action` fields so smoke tests can
|
||||
fail on stale or failed streams. Keychain and auth sync now use per-peer
|
||||
high-water cursors, while receivers still verify every imported signed operation
|
||||
before it can affect the reduced keychain or authorization views.
|
||||
`state`, `stale`, `stale_after_ms`, `consecutive_failures`, `retry_after_ms`,
|
||||
`retry_in_ms`, and `next_action` fields so smoke tests can fail on stale or
|
||||
failed streams. Background live-sync backs off failed streams, while
|
||||
`geth sync now [node]` is an immediate operator retry. Keychain and auth sync
|
||||
now use per-peer high-water cursors, while receivers still verify every imported
|
||||
signed operation before it can affect the reduced keychain or authorization
|
||||
views.
|
||||
|
||||
## Two-Machine Smoke Test
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue