feat: add live sync retry backoff
This commit is contained in:
parent
24a0a3d153
commit
2dce1f41cf
8 changed files with 225 additions and 31 deletions
|
|
@ -150,10 +150,13 @@ still verified against trusted-admin OpenSSH signatures before import.
|
|||
Operators can run `geth sync now [node]` to trigger the same best-effort pass
|
||||
immediately and `geth sync status` to inspect locally recorded last-attempt,
|
||||
last-success, cursor, import/rejection counts, and errors for each peer stream.
|
||||
JSON status also includes `state`, `stale`, `stale_after_ms`, and `next_action`
|
||||
fields so scripts can fail on unhealthy streams. Common daemon errors include a
|
||||
`next:` recovery line for missing peer cards, missing grants, missing resources,
|
||||
unavailable endpoints, and missing DB/KV/document registrations.
|
||||
JSON status also includes `state`, `stale`, `stale_after_ms`,
|
||||
`consecutive_failures`, `retry_after_ms`, `retry_in_ms`, and `next_action`
|
||||
fields so scripts can fail on unhealthy streams. Background live-sync backs off
|
||||
failed streams without blocking explicit `geth sync now [node]` retries. Common
|
||||
daemon errors include a `next:` recovery line for missing peer cards, missing
|
||||
grants, missing resources, unavailable endpoints, and missing DB/KV/document
|
||||
registrations.
|
||||
|
||||
Host-opening paths are intentionally narrow. TCP pipe forwarding accepts only
|
||||
explicit loopback socket addresses on both the local listener and remote target;
|
||||
|
|
|
|||
Loading…
Reference in a new issue