Skip to content

Commit

Permalink
Release v2.0.0 alpha.4 (#330)
Browse files Browse the repository at this point in the history
* fix minor warnings

* Version up
  • Loading branch information
piakushin authored Sep 16, 2021
1 parent dd56b37 commit 9afd64c
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 19 deletions.
19 changes: 14 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,26 @@ Bob versions changelog

## [Unreleased]
#### Added
- Add the ability to choose prometheus exporter address (#311)
- Add rest api port to config ([#269](https://github.com/qoollo/bob/pull/269))


#### Changed


#### Fixed


#### Updated


## [2.0.0-alpha.4] - 2021-09-16
#### Added
- Add the ability to choose prometheus exporter address (#311)
- Add rest api port to config (#269)

#### Fixed
- Prometheus exporter bug which occured after migration to global exporter scheme (#322)
- Minor build issues ([#327](https://github.com/qoollo/bob/pull/327))
- Fix actual holder creation condition([#283](https://github.com/qoollo/bob/pull/283))
- Minor build issues (#327)
- Fix actual holder creation condition(#283)

#### Updated
- Libs: tonic, tonic-build, tower, tokio.
Expand Down Expand Up @@ -41,7 +51,6 @@ Bob versions changelog
- Run tests with GitHub Actions (#279)

#### Fixed

- Add brt to dockerfiles (#296)
- Bug with panic on load operation in rate processor (#302)

Expand Down
2 changes: 1 addition & 1 deletion bob-apps/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bob-apps"
version = "2.0.0-alpha.3"
version = "2.0.0-alpha.4"
authors = ["Kirill Bushminkin <kb@qoollo.com>", "Pavel Iakushin <pyakushin@qoollo.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion bob-backend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bob-backend"
version = "2.0.0-alpha.3"
version = "2.0.0-alpha.4"
authors = [
"Kirill Bushminkin <kb@qoollo.com>",
"Pavel Iakushin <pyakushin@qoollo.com>",
Expand Down
6 changes: 0 additions & 6 deletions bob-backend/src/pearl/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ pub type PearlStorage = Storage<Key>;

#[derive(Clone, Debug)]
pub struct Pearl {
settings: Arc<Settings>,
disk_controllers: Arc<[Arc<DiskController>]>,
alien_disk_controller: Arc<DiskController>,
node_name: String,
init_par_degree: usize,
}

impl Pearl {
Expand All @@ -44,11 +41,8 @@ impl Pearl {
.await;

let pearl = Self {
settings,
disk_controllers,
alien_disk_controller,
node_name: config.name().to_string(),
init_par_degree: config.init_par_degree(),
};
Ok(pearl)
}
Expand Down
2 changes: 1 addition & 1 deletion bob-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bob-common"
version = "2.0.0-alpha.3"
version = "2.0.0-alpha.4"
authors = ["Kirill Bushminkin <kb@qoollo.com>", "Pavel Iakushin <pyakushin@qoollo.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion bob-grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bob-grpc"
version = "2.0.0-alpha.3"
version = "2.0.0-alpha.4"
authors = ["Kirill Bushminkin <kb@qoollo.com>", "Pavel Iakushin <pyakushin@qoollo.com>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion bob/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bob"
version = "2.0.0-alpha.3"
version = "2.0.0-alpha.4"
authors = [
"Kirill Bushminkin <kb@qoollo.com>",
"Pavel Iakushin <pyakushin@qoollo.com>",
Expand Down
6 changes: 3 additions & 3 deletions bob/src/api/http/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@ pub(crate) async fn put_object(
pub(crate) struct CopyObjectHeaders {
if_modified_since: Option<u64>,
if_unmodified_since: Option<u64>,
source_key: DataKey,
_source_key: DataKey,
}

#[rocket::async_trait]
impl<'r> FromRequest<'r> for CopyObjectHeaders {
type Error = StatusS3;
async fn from_request(request: &'r Request<'_>) -> Outcome<Self, Self::Error> {
let headers = request.headers();
let source_key = match headers
let _source_key = match headers
.get_one("x-amz-copy-source")
.and_then(|x| x.parse().ok())
{
Expand All @@ -175,7 +175,7 @@ impl<'r> FromRequest<'r> for CopyObjectHeaders {
.get_one("If-Unmodified-Since")
.and_then(|x| chrono::DateTime::parse_from_rfc2822(x).ok())
.and_then(|x| x.timestamp().try_into().ok()),
source_key,
_source_key,
})
}
}
Expand Down

0 comments on commit 9afd64c

Please sign in to comment.