aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[State Sync] Add a new alert for state sync lag and tweak a config.

Open JoshLind opened this issue 2 years ago • 0 comments

Description

This PR makes two small tweaks to state sync:

  1. 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.
  2. It increases the num_versions_to_skip_snapshot_sync in the state sync config.

Test Plan

Existing infrastructure.


This change is Reviewable

JoshLind avatar Sep 14 '22 02:09 JoshLind