mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 09:50:40 +00:00
feat(mito): make use of options in RegionCreate/OpenRequest (#2436)
* refactor: move RegionOptions to options mod * refactor: define compaction strategy in region/options.rs * feat: use duration for time window * refactor: rename CompactionStrategy to CompactionOptions * feat: use serde to parse options * feat: parse options * feat: set options on creation/opening * test: test create/open with options * chore: remove todo * feat: get compaction ttl and options from RegionOptions * style: fix clippy * chore: Remove unused engine_options * style: fix clippy * chore: remove todo
This commit is contained in:
@@ -120,7 +120,6 @@ fn create_table_info(table_id: TableId, table_name: TableName) -> RawTableInfo {
|
||||
created_on: chrono::DateTime::default(),
|
||||
primary_key_indices: vec![],
|
||||
next_column_id: columns as u32 + 1,
|
||||
engine_options: Default::default(),
|
||||
value_indices: vec![],
|
||||
options: Default::default(),
|
||||
region_numbers: (1..=100).collect(),
|
||||
|
||||
Reference in New Issue
Block a user