CheckpointStoreStats
Defined in: packages/core/src/history/checkpointRetention.ts:145
What the store’s checkpoint state holds, for the readout.
Properties
Section titled “Properties”checkpointBytes
Section titled “checkpointBytes”checkpointBytes:
number
Defined in: packages/core/src/history/checkpointRetention.ts:155
Bytes of checkpoint, metadata and pending-write blobs — the checkpoint state’s own share.
checkpointCount
Section titled “checkpointCount”checkpointCount:
number
Defined in: packages/core/src/history/checkpointRetention.ts:156
dbPath
Section titled “dbPath”dbPath:
string
Defined in: packages/core/src/history/checkpointRetention.ts:147
The store directory.
fileBytes
Section titled “fileBytes”fileBytes:
number
Defined in: packages/core/src/history/checkpointRetention.ts:153
Bytes the whole store occupies on disk — the index (transcripts and the search index) and every thread file — so it is reported beside checkpointBytes rather than instead of it. Zero when nothing is there.
largestThreads
Section titled “largestThreads”largestThreads:
ThreadUsage[]
Defined in: packages/core/src/history/checkpointRetention.ts:160
The biggest threads by stored bytes, largest first.
threadCount
Section titled “threadCount”threadCount:
number
Defined in: packages/core/src/history/checkpointRetention.ts:158
unresumableBytes
Section titled “unresumableBytes”unresumableBytes:
number
Defined in: packages/core/src/history/checkpointRetention.ts:163
unresumableThreadCount
Section titled “unresumableThreadCount”unresumableThreadCount:
number
Defined in: packages/core/src/history/checkpointRetention.ts:162
Threads no conversation row names, and what they cost — what reclamation will take.
writeCount
Section titled “writeCount”writeCount:
number
Defined in: packages/core/src/history/checkpointRetention.ts:157
writeOnlyBytes
Section titled “writeOnlyBytes”writeOnlyBytes:
number
Defined in: packages/core/src/history/checkpointRetention.ts:169
writeOnlyThreadCount
Section titled “writeOnlyThreadCount”writeOnlyThreadCount:
number
Defined in: packages/core/src/history/checkpointRetention.ts:168
Threads holding pending writes and no checkpoint, and what they cost. Counted inside
checkpointBytes; reported apart because only gth history prune removes them.