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
Independent follow-up to #2410. Blocked until #1488 is done: measure the persistent completed-downloads listener first, then batch its writes.
Goal
The persistent completed-downloads listener keeps up with the completion rate under load, so its event backlog stays small in normal operation and at shutdown.
Acceptance criteria
AC1: From recorded nonzero baselines, per-torrent deltas match each torrent's completions and the global delta matches their sum, on all drivers.
AC2: Rate meets the target agreed after T1, with comparable before/after numbers and no unreviewed latency or memory regression.
AC3: Rollback, retry, discard, and unknown outcomes are tested and logged distinctly; retry cannot silently double-count an ambiguous commit.
AC4: Shutdown flushes the batch within available time, or reports the deadline/failure outcome without claiming persistence completed.
linter all exits with code 0; relevant tests pass.
Specification: docs/issues/open/2418-batch-persisted-download-writes/ISSUE.md (added by the spec-only PR).
Activity
docs(issues): mark completed issue creation checkpoints in torrust#2411…
docs(issues): state the torrust#2418 test plan instead of not applicable
docs(issues): add specs for SI-22 shutdown event draining and related…
docs(issues): mark completed issue creation checkpoints in torrust#2411…
docs(issues): state the torrust#2418 test plan instead of not applicable
Merge #2421: docs(issues): add specs for SI-22 shutdown event drainin…
Merge #2578: fix(events): [#2414] drain listener queues on shutdown
chore(issues): [#2410] close sub-EPIC SI-22 and archive its spec to d…
Merge #2633: chore(issues): [#2410] close sub-EPIC SI-22 and archive …