Skip to content

Commit

Permalink
858 fix warnings (#862)
Browse files Browse the repository at this point in the history
* 858 fix warnings

* 858 update changelog

* 858 fix tests
  • Loading branch information
idruzhitskiy authored Jan 18, 2024
1 parent 519c950 commit 5e5411b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Bob versions changelog

#### Fixed
- Fix missing alien records due to multiple groups (#806)
- Fix warnings for imports (#858)


#### Updated
Expand Down
11 changes: 4 additions & 7 deletions bob-backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ extern crate lazy_static;
pub(crate) mod prelude {
pub use anyhow::{Context, Result as AnyResult};
pub use bob_common::{
configs::{
cluster::Cluster as ClusterConfig,
node::{BackendType, Node as NodeConfig, Pearl as PearlConfig},
},
configs::node::{BackendType, Node as NodeConfig, Pearl as PearlConfig},
data::{BobData, BobKey, BobMeta},
operation_options::{BobPutOptions, BobGetOptions, BobDeleteOptions},
core_types::{DiskName, DiskPath, VDiskId},
Expand All @@ -35,18 +32,18 @@ pub(crate) mod prelude {
pub use futures::{stream::FuturesUnordered, StreamExt, TryFutureExt};
pub use pearl::{
filter::hierarchical::*, filter::traits::*, filter::Config as BloomConfig, Builder,
Error as PearlError, ErrorKind as PearlErrorKind, IoDriver, Key as KeyTrait,
ErrorKind as PearlErrorKind, IoDriver, Key as KeyTrait,
RefKey as RefKeyTrait, Storage,
};
pub use std::{
collections::{hash_map::Entry, HashMap},
collections::HashMap,
convert::TryInto,
fmt::{Debug, Display, Formatter, Result as FmtResult},
fs::Metadata,
io::{Error as IOError, ErrorKind as IOErrorKind, Result as IOResult},
path::{Path, PathBuf},
sync::Arc,
time::{Duration, Instant, SystemTime, UNIX_EPOCH},
time::{Duration, Instant, SystemTime},
};
pub use tokio::{
fs::{create_dir_all, read_dir, remove_dir_all, remove_file, DirEntry},
Expand Down
1 change: 1 addition & 0 deletions bob-backend/src/pearl/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use crate::prelude::*;

use super::{core::BackendResult, Pearl as PearlBackend};
use crate::core::{BackendStorage, Operation};
use bob_common::configs::cluster::Cluster as ClusterConfig;

static DISK_NAME: &str = "disk1";
static PEARL_PATH: &str = "/tmp/d1/";
Expand Down

0 comments on commit 5e5411b

Please sign in to comment.