Closed hiltontj closed 1 week ago
@alamb I tagged you on this as it is using StringView
and I thought that may interest you. Starting here: https://github.com/influxdata/influxdb/blob/dff0b2ec913a0599ee7b9404f814bbc1807cea6f/influxdb3_cache/src/meta_cache/mod.rs#L183-L220
Part of #25543
Implement the base
MetaCache
type that holds the hierarchical structure of the metadata cache providing methods to:max_age
and amax_cardinality
(here)Tests
Notes
influxdb3_cache
crate, which just holds the metadata cache for now, but may well also hold the last-n-value cache and parquet cache to get those out of theinfluxdb3_write
crateWriteValidator
frominfluxdb3_write
so it can be used as a more light-weight way of parsing line protocol and producingRow
s for testsMetaCacheProvider
and other pieces necessary to tie this into the system.