This procedure is defined in the server but not documented via ad_proc or proc_doc and may be intended as a private interface.

The procedure is defined as:

proc nsmcp::accessIngestionBegin {} {
    
    set key nsmcp:access-writer:[ns_info server]
    set token [nsv_incr $key sequence]
    set last [expr {[nsv_exists $key state] ? [dict get [nsv_get $key state] lastRun] : {}}]
    set lastBatch {}
    if {[nsv_get $key state previous] && [dict exists $previous lastBatch]} {set lastBatch [dict get $previous lastBatch]}
    set now [clock clicks -milliseconds]
    nsv_set $key state [dict create token $token running true startedAt [clock seconds] startedTicks $now  phaseTicks $now phase starting parsedBytes 0 records 0 requestRecords 0 malformedRecords 0 oversizedRecords 0 committedBatches 0 lastBatch $lastBatch phaseMilliseconds {} lastRun $last]
    return $token

}

Show another procedure: