Overview of Catalog v3
mainCatalog v3 is the single source of truth for InfluxDB cluster metadata, including databases, tables, columns, field families, caches, triggers, tokens, nodes, retention, and storage configuration.
Key improvements over v2 include:
- Forward compatibility: Uses version-gated records and a cluster-wide committed feature level to allow mixed-version clusters to upgrade without a coordinated all-node restart. An
UPGRADE_SAFEflag allows older nodes to safely ignore newer records. - Persistence boundary: Separates frozen
CatalogRecordtypes (on-disk format) from runtime types (in-memory API), allowing them to evolve independently. - Compact binary format: Uses
bitcode-encoded record bodies in a fixed framing format, which is approximately 5–6× smaller than v2 JSON and avoids full-JSON deserialization during loading.