nsmcp::accessIngestionBegin

 nsmcp::accessIngestionBegin

Defined in

Partial Call Graph (max 5 caller/called nodes):
instproc instproc nsmcp::accessIngestionBegin nsmcp::accessIngestionBegin instproc->nsmcp::accessIngestionBegin nsmcp::UnifiedAccessAnalytics nsmcp::UnifiedAccessAnalytics nsmcp::UnifiedAccessAnalytics->nsmcp::accessIngestionBegin refresh refresh refresh->nsmcp::accessIngestionBegin

Testcases:
No testcase defined.
Source code:
    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
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: