aptos-core
aptos-core copied to clipboard
[State Sync] Add a new alert for state sync lag and tweak a config.
Description
This PR makes two small tweaks to state sync:
- It adds an alert for state sync when the node is lagging more than 1 million versions behind head. We might want to tweak this in the future based on how often it fires, but let's start here.
- It increases the
num_versions_to_skip_snapshot_sync
in the state sync config.
Test Plan
Existing infrastructure.