A sprint over 10,000 cards was refused at start and close. With the
snapshot rows already outside the sprint document, the rest now is too:
- The rollover plan of a close goes to its own collection,
scrumRolloverRows, in chunks bounded by rows and bytes; the sprint keeps
only rolloverPending: true. A chunk is applied, its cards read at once,
and removed; the mark is cleared when none is left. A plan kept in the
sprint document before this is still finished as it was.
- A Scrum History batch too large for one row is recorded as several rows
sharing a batchId, each at most 1,000 records and 3 MB a side. A record
is in exactly one row, and undo and redo walk the whole batch, with or
without a request ID, so one undo still reverses a whole close.
- Daily burndown observations keep their rows in scrumSnapshotRows too.
- No 10,000-card limit is left: snapshot inputs, daily capture, scope
replay, the daily report and the transfer read every card.
Undoing a batch re-hashed its whole History row and sent its whole plan as
a selector before every record write, so a 1,500-card undo took four
minutes. The row is now checked whole when the operation begins and by
its identity fields after that, and the worker check uses the plan's
identity and the worker's random id - nothing ever rewrites a pending
plan. A 10,500-card sprint closes in 8 s and undoes in 44 s.
Thanks to xet7 !
Introduce version 2 while accepting version 1 imports. Remap snapshot references, retain measured epochs and partial-data notices, bound transfer sizes, and prevent collectors from observing unfinished imports.
Thanks to xet7 !
Keep the first actual observation of each UTC day, preserve unknown estimates, and bound history reads. Verify retry and concurrent capture behavior with MongoDB and reader permissions with Chromium.
Thanks to xet7 !