Skip to content

Commit d5fd615

Browse files
committed
feat: version 2 catalog serialization
Changed from using bitcode for the catalog to JSON. This applies to both the log files as well as snapshots. This required copying existing code into two places: - v1 - latest The types from latest are used as the "in-memory" types that we can work with throughout the codebase. The v1 types are only there for posterity and giving the ability to deserialize catalog files that predate this change; they are not meant to be used throughout the code.
1 parent f456fd4 commit d5fd615

12 files changed

Lines changed: 2800 additions & 1399 deletions

File tree

influxdb3_catalog/src/log.rs

Lines changed: 2 additions & 788 deletions
Large diffs are not rendered by default.

influxdb3_catalog/src/log/create.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ use std::sync::Arc;
22

33
use influxdb3_id::{ColumnId, DbId, TableId};
44

5+
use crate::catalog::CatalogSequenceNumber;
6+
57
use super::*;
68

79
pub fn catalog_database_batch_op(

0 commit comments

Comments
 (0)