fix: resolve CR problems

This commit is contained in:
Dennis Zhuang
2022-08-11 15:49:12 +08:00
parent 146e9abde6
commit dcdbef534c
3 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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? {

View File

@@ -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>;