You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P2Scheduled: real but not urgentarea:serverHTTP surface, routes, error mapping, swagger, timeouts/admission, config graphenhancementNew feature or request
Push and paged pull refuse any commit that drops a graph (Commit::graph_drops non-empty). The refusal is in commit_transfer::refuse_graph_drops: "drops graphs, which pushing and pulling commits does not support yet". A ledger that has dropped a graph therefore can't be replicated by push or pull from that commit on. docs/reference/compatibility.md documents this as not supported yet.
The refusal is there because commit transfer validates and applies incoming commits on its own path (apply_pushed_commits_to_state), which revives graphs but never applies a drop.
What applying a drop needs on that path
Apply each commit's drops before its graph delta and flakes, as replay and build_commit do: LedgerState::apply_graph_drops at the commit's t, then hide_dropped_graphs so the receiver's index stops serving the graph.
Keep revival at the commit's own t for a graph that the same or a later pushed commit writes again (already done there).
Paged pull: drops must be applied in commit order across page boundaries, because a later page can revive a graph an earlier page dropped.
A receiver on a release older than the drop work refuses envelope flag 0x20. That's expected, but the error it reports should name the cause.
Tests
Push a drop and pull a drop: the dropped graph isn't queryable on the receiver, at the head or as of an earlier t, and a graph written after the drop holds only the new facts.
A pull whose pages straddle a drop and its revival.
P2Scheduled: real but not urgentarea:serverHTTP surface, routes, error mapping, swagger, timeouts/admission, config graphenhancementNew feature or request
Activity