nsmcp::AccessRecordPartitions method partitionStatus (protected)

 <instance of nsmcp::AccessRecordPartitions[i]> partitionStatus

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

Testcases:
No testcase defined.
Source code:
if {${:partitionInterval}==0} {
    return {partitionInterval 0 bootstrapFrom 0}
}
set count [${:db} scalar {SELECT count(*) FROM main.partitions}]
set bootstrap [:stateGet bootstrapFrom 0]
set control [:stateGet continuous {}]
return [dict create partitionInterval ${:partitionInterval} partitionCount $count  bootstrapFrom $bootstrap availableFrom [:dict getdef $control availableFrom $bootstrap]  historicalBackfillEnabled [:dict getdef ${:settings} historicalBackfill false]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: