mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-10 23:32:55 +00:00
fix: resolve CR problems
This commit is contained in:
@@ -109,7 +109,7 @@ pub enum Error {
|
||||
#[snafu(display("Failed to storage engine, source: {}", source))]
|
||||
OpenStorageEngine { source: StorageError },
|
||||
|
||||
#[snafu(display("Failed to init backend, source: {}", source))]
|
||||
#[snafu(display("Failed to init backend, dir: {}, source: {}", dir, source))]
|
||||
InitBackend {
|
||||
dir: String,
|
||||
source: std::io::Error,
|
||||
|
||||
@@ -241,7 +241,6 @@ impl<S: LogStore> EngineInner<S> {
|
||||
|
||||
let mut guard = SlotGuard::new(name, &self.regions);
|
||||
|
||||
// FIXME(yingwen): Get region id or remove dependency of region id.
|
||||
let store_config = self.region_store_config(&opts.parent_dir, name);
|
||||
|
||||
let region = match RegionImpl::open(name.to_string(), store_config, opts).await? {
|
||||
|
||||
@@ -3,7 +3,7 @@ pub mod action;
|
||||
|
||||
use storage::manifest::ManifestImpl;
|
||||
|
||||
use crate::manifest::action::*;
|
||||
use crate::manifest::action::TableMetaActionList;
|
||||
|
||||
pub type TableManifest = ManifestImpl<TableMetaActionList>;
|
||||
|
||||
@@ -15,6 +15,7 @@ mod tests {
|
||||
use table::metadata::TableInfo;
|
||||
|
||||
use super::*;
|
||||
use crate::manifest::action::{TableChange, TableMetaAction, TableRemove};
|
||||
use crate::table::test_util;
|
||||
type TableManifestActionIter = MetaActionIteratorImpl<TableMetaActionList>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user