M10.9d: watermark coalescing, budgets v2, evo-load action ids
Foundation / checks (client) (push) Successful in 14s
Foundation / checks (checks) (push) Successful in 16s
Foundation / checks (deploy) (push) Successful in 15s
Foundation / checks (network) (push) Successful in 18s
Foundation / checks (postgres) (push) Successful in 1m34s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (tsan) (push) Successful in 5m44s
Foundation / server-image (push) Successful in 1m0s
Foundation / postgres-tools (push) Successful in 1m38s
Foundation / image (push) Successful in 2m34s
Foundation / checks (client) (push) Successful in 14s
Foundation / checks (checks) (push) Successful in 16s
Foundation / checks (deploy) (push) Successful in 15s
Foundation / checks (network) (push) Successful in 18s
Foundation / checks (postgres) (push) Successful in 1m34s
Foundation / checks (ecs) (push) Successful in 1m53s
Foundation / checks (tsan) (push) Successful in 5m44s
Foundation / server-image (push) Successful in 1m0s
Foundation / postgres-tools (push) Successful in 1m38s
Foundation / image (push) Successful in 2m34s
- IntentLimits::watermark_coalesce (evo-server: every 4, coalesce 4); ADR-0092 amendment. - m10 load-report splits poll/replicate and commit-tick/other-tick maxima. - Budgets v2: work p95 <= 25 ms over all ticks, commit ticks <= 50 ms (ADR-0097); moving the commit off the tick is a recorded follow-up. - evo-load: time-based action ids, duplicate_actions, receipts before outcomes; drill ramps at 500 ms and judges by v2. - Refresh the dev session window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -551,6 +551,31 @@ void intent_admission() {
|
||||
marks = a.simulated(f); // Repeated after 20 ticks so a lost datagram is covered.
|
||||
CHECK(mark_of(marks, 1) == SimulatedThrough{5, 3, 130} &&
|
||||
mark_of(marks, 2) == SimulatedThrough{5, 0, 130});
|
||||
// M10.9d: coalesced, an advancing watermark goes out at most every 4 ticks, still
|
||||
// cumulative (the latest sequence), and idle repeats keep their interval.
|
||||
{
|
||||
IntentLimits l;
|
||||
l.watermark_every = 20;
|
||||
l.watermark_coalesce = 4;
|
||||
IntentLimits zero;
|
||||
zero.watermark_coalesce = 0;
|
||||
CHECK(!IntentAdmission::create(zero));
|
||||
auto c = *IntentAdmission::create(l);
|
||||
CHECK(c.open(3, alice));
|
||||
AdmissionFacts g{true, 5, 200};
|
||||
std::uint64_t sent = 0;
|
||||
for (std::uint64_t tick = 201; tick <= 216; ++tick) {
|
||||
CHECK(c.intention(3, SessionIntention{3, 5, tick - 200, tick, 0, 0}, g).status ==
|
||||
AdmitStatus::admitted);
|
||||
g.server_tick = tick;
|
||||
const auto m = mark_of(c.simulated(g), 3);
|
||||
if (m) {
|
||||
++sent;
|
||||
CHECK(m->sequence == tick - 200); // The newest simulated intention.
|
||||
}
|
||||
}
|
||||
CHECK(sent == 4); // Ticks 201 (first), 205, 209, 213.
|
||||
}
|
||||
// By default every session hears every simulated tick.
|
||||
auto every = *IntentAdmission::create(IntentLimits{});
|
||||
CHECK(every.open(7, alice));
|
||||
|
||||
Reference in New Issue
Block a user