nsmcp::AccessRecordStoreSQLite method rollupBackfill (public)

 <instance of nsmcp::AccessRecordStoreSQLite[i]> rollupBackfill \
    [ batches ]

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl

Build missing minute rollups for previously stored requests. Process bounded batches in source order. Commit rollups, observations, rolled flags and the migration cursor atomically for each batch.

Parameters:
batches (optional, defaults to "1")
Maximum number of migration batches to process in this invocation.
Returns:
True when no unrolled rows remain; false when the batch budget was exhausted.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: