Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Game day: clock skew

Source docs/ops/game-days/clock-skew.md

On this page
  1. Signals
  2. Expected behaviour
  3. Actions
  4. Exit criteria

A peer’s or a signer’s clock is wrong (time synchronisation lost, a virtual machine resumed with an old clock). Experiment: make chaos CHAOS=clock-skew (shifts fed-c by +120 s with its --clock-offset flag and the transparency log service by +600 s with OBSP_CLOCK_OFFSET_S; the host clock is never changed).

Signals

  • ObspLogTreeHeadOld (page) and ObspLogSigningStaleBurnRate1h (page): the prober finds the log’s signed tree head older than 300 s or stamped in the future (obsp_log_tree_head_fresh 0, obsp_log_tree_head_age_seconds).
  • Federation: lease votes refused with a retry time (the grantor waits out the skew allowance); fewer lease epochs; Federation lag dashboard, obsp_federation_lease_held, obsp_federation_lease_epoch.
  • Records stamped by the skewed host carry times outside the expected window (time-quality records of nodes).

Expected behaviour

Lease safety holds whatever the skew: at most one peer acts under a lease for a namespace at any time, because a grantor votes for a new epoch only after its last vote expired plus the skew allowance (FED-5). A skew beyond the allowance slows lease changes; it never produces two holders. A log whose signer’s clock is ahead serves tree heads that consumers must not accept as fresh; the prober reports them as not fresh.

Actions

  1. Find the host: compare the hosts’ clocks with the reference time source; the prober’s tree-head age is measured with its own clock.
  2. Restore time synchronisation on that host. Do not step a signer’s clock backwards while it signs: stop the signer, fix the clock, start it, so that its signed timestamps stay monotonic.
  3. For a log: after the fix, check that the next signed tree head is fresh and consistent with the previous one (/v1/proofs/consistency).
  4. For a federation peer: watch lease epochs resume; no manual lease action is needed.

Exit criteria

All hosts within the skew allowance of the reference time source; obsp_log_tree_head_fresh 1; no lease anomaly in the samples; the log-freshness alerts have cleared.