nsmcp::AccessRecordStoreSQLite method dropState (public)
<instance of nsmcp::AccessRecordStoreSQLite> dropState fid \ offset
Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl
Check whether an offset follows a committed dropped section. Consult the source generation's persisted dropping flag and high watermark. This allows the scanner to carry its framing state across ingestion slices.
- Parameters:
- fid (required)
- Stored source-file identifier.
- offset (required)
- Byte offset at which scanning will resume.
- Returns:
- True when the generation is dropping at or before this offset, otherwise false.
- Testcases:
- No testcase defined.
Source code: return [${:db} scalar { SELECT CASE WHEN dropping=1 AND high<=:offset THEN 1 ELSE 0 END FROM main.files WHERE fid=:fid }]XQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)