Add M10.4c evo-server QUIC listener and headless session client
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m46s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 3m44s
Foundation / checks (client) (push) Canceled after 3m49s
Foundation / checks (network) (push) Canceled after 1m59s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m46s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 3m44s
Foundation / checks (client) (push) Canceled after 3m49s
Foundation / checks (network) (push) Canceled after 1m59s
evo-server gains an opt-in M10 listener (--m10-*, QUIC builds only): RegionSessions with the PostgreSQL control and action ledgers on their own connection under the host's lease, carried actions submitted to the host and its acknowledgements and drops turned into outcomes. evo-session-probe is a dev-only headless client. Real process tests cover intentions, durable action outcomes, SIGKILL before and after an action's commit, duplicate retries and the probe. The simulated watermark now reaches every session every tick, so clients always know the server tick. ADR-0092. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,8 +26,10 @@ struct IntentLimits {
|
||||
std::uint32_t max_actions_per_window{4}; // Every attempt counts.
|
||||
std::size_t max_unresolved{256}; // Intentions plus actions per session.
|
||||
std::size_t max_sessions{32};
|
||||
std::size_t max_finals{2048}; // Recent final outcomes kept for duplicates and queries.
|
||||
std::uint64_t watermark_every{20}; // Ticks between repeats of an unchanged watermark.
|
||||
std::size_t max_finals{2048}; // Recent final outcomes kept for duplicates and queries.
|
||||
// Ticks between watermarks to each session (1: every simulated tick). The watermark is
|
||||
// also every client's clock for the server tick until snapshots carry it (10.5).
|
||||
std::uint64_t watermark_every{1};
|
||||
};
|
||||
// The host's authority as admission must see it.
|
||||
struct AdmissionFacts {
|
||||
@@ -86,7 +88,9 @@ class IntentAdmission {
|
||||
// is ready, and an action no longer in memory is looked up.
|
||||
[[nodiscard]] ActionOutcome query(std::uint64_t session, const ActionQuery& m,
|
||||
const AdmissionFacts& facts);
|
||||
// Watermarks to send after the host simulated through facts.server_tick.
|
||||
// Watermarks to send after the host simulated through facts.server_tick: to every
|
||||
// session (sequence 0 before its first simulated intention) at least every
|
||||
// `watermark_every` ticks, and whenever its sequence advances.
|
||||
[[nodiscard]] std::vector<std::pair<std::uint64_t, SimulatedThrough>>
|
||||
simulated(const AdmissionFacts& facts);
|
||||
// Scheduled actions whose tick is <= `tick`: they ride that tick's batch from now on.
|
||||
|
||||
Reference in New Issue
Block a user