Files
DataStack/storage/manifest.md
T

10 lines
563 B
Markdown
Raw Normal View History

# Storage Directory Manifest (`storage/`)
2026-10-23 11:43:49 -05:00
## Purpose
Root storage directory for partitioned CSV event datasets written by the Next.js and Port 4000 ingestion engines.
2026-10-23 11:43:49 -05:00
## Partition Layout
- **File Path**: `/storage/data/{clientId}/{YYYY-MM-DD}.csv`
- **Overflow Rotation**: `/storage/data/{clientId}/{YYYY-MM-DD}-part{N}.csv` when a partition reaches the configured `fileRotationMb` size limit (default `100MB`).
- **CSV Header**: `clientId,eventId,timestamp,payload`
- **Git Policy**: Runtime data files under `storage/data/` are ignored by Git (`.gitignore`).