mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-21 07:20:41 +00:00
chore: upgrade rust toolchain to latest nightly (#2049)
* chore: upgrade rust toolchain to latest nightly * rebase develop * update rust toolchain in ci
This commit is contained in:
@@ -157,7 +157,9 @@ impl Default for TwcsOptions {
|
||||
|
||||
impl From<&HashMap<String, String>> for CompactionStrategy {
|
||||
fn from(opts: &HashMap<String, String>) -> Self {
|
||||
let Some(strategy_name) = opts.get(COMPACTION_STRATEGY_KEY) else { return CompactionStrategy::default() };
|
||||
let Some(strategy_name) = opts.get(COMPACTION_STRATEGY_KEY) else {
|
||||
return CompactionStrategy::default();
|
||||
};
|
||||
if strategy_name.eq_ignore_ascii_case(COMPACTION_STRATEGY_LEVELED_TIME_WINDOW_VALUE) {
|
||||
CompactionStrategy::LeveledTimeWindow
|
||||
} else if strategy_name.eq_ignore_ascii_case(COMPACTION_STRATEGY_TWCS_VALUE) {
|
||||
|
||||
Reference in New Issue
Block a user