You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unknown unknowns that won't reveal themselves until we're in the trenches
Design Discussions
On Disk Structure
Every bucket will have its own database and retention policy. To state it another way, every database will have exactly one retention policy, which is the bucket.
Creating two buckets, bucket-a and bucket-b would result in the following:
data/
bucket-a/
autogen/
bucket-b/
autogen/
NOTE: The bucket metadata will be separate from the TSM 1 metadata (database name, retention policy name, shards, etc). As is with 1.x, the database name and retention policy names are immutable. Other metadata, such as shard duration may be exposed via subcommands of the influx CLI tool.
Migration
Given the above property, if the user has the following existing structure:
Step 1: Forward port 1.x tsdb, Flux
Step 1a: Initial port 1.x tsdb, Flux
Success
Step 2: Parallel tracks
These can run in parallel
2a: 1.x Compatibility
Compute Team
/query
via Add InfluxQL and V1 query API #19304/write
via Add V1 write API #19303Success
/query
(InfluxQL) works/write
works2b: Flux Upgrade
Flux Team
Success
2c: Migration Tooling / Retention Policy / Backup Restore
Storage Team, Compute Team
influxd
correctly drops shards based on retention policy)influx_inspect
tools via Port influx_inspect tools to influxd inspect subcommand #19315Other work:
Design Discussions
On Disk Structure
Every bucket will have its own database and retention policy. To state it another way, every database will have exactly one retention policy, which is the bucket.
Creating two buckets,
bucket-a
andbucket-b
would result in the following:NOTE: The bucket metadata will be separate from the TSM 1 metadata (database name, retention policy name, shards, etc). As is with 1.x, the database name and retention policy names are immutable. Other metadata, such as shard duration may be exposed via subcommands of the
influx
CLI tool.Migration
Given the above property, if the user has the following existing structure:
The resulting layout on disk will be:
The text was updated successfully, but these errors were encountered: