Skip to content

Commit

Permalink
v0.3.0 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
losfair authored Feb 13, 2023
1 parent 50e6060 commit f2117d3
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mvclient/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mvclient"
version = "0.3.0-beta.1"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Heyang Zhou <[email protected]>"]
Expand Down
8 changes: 4 additions & 4 deletions mvclient/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ impl Transaction {
}

pub async fn read_many_nomark(&self, page_id_list: &[u32]) -> Result<Vec<Vec<u8>>> {
// wait for async completion
self.async_ctx.background_completion.write().await;
// Read-your-writes: wait for completion of asynchronous writes.
let _ = self.async_ctx.background_completion.write().await;
self.check_async_error()?;

let mut raw_request: Vec<u8> = Vec::new();
Expand Down Expand Up @@ -631,8 +631,8 @@ impl Transaction {
metadata: Option<String>,
fast_writes: &HashMap<u32, Bytes>,
) -> Result<Option<NamespaceCommitIntent>> {
// wait for async completion
self.async_ctx.background_completion.write().await;
// Wait for all pages in the page buffer to be flushed.
let _ = self.async_ctx.background_completion.write().await;
self.check_async_error()?;

if self.page_buffer.is_empty() && metadata.is_none() && fast_writes.is_empty() {
Expand Down
4 changes: 2 additions & 2 deletions mvfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mvfs"
version = "0.3.0-beta.1"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Heyang Zhou <[email protected]>"]
Expand All @@ -14,7 +14,7 @@ crate-type = ["rlib", "staticlib"]
anyhow = "1"
thiserror = "1"
tokio = { version = "1", features = ["full"] }
mvclient = { path = "../mvclient" }
mvclient = { path = "../mvclient", version = "0.3.0" }
tracing = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
4 changes: 2 additions & 2 deletions mvsqlite-fuse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ thiserror = "1"
tokio = { version = "1", features = ["full"] }
log = "0.4"
rand = "0.8.5"
mvclient = { path = "../mvclient" }
mvclient = { path = "../mvclient", version = "0.3.0" }
tracing = "0.1"
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "tracing-log", "json"] }
libc = "0.2"
Expand All @@ -20,7 +20,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
lazy_static = "1.4.0"
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls"] }
mvfs = { path = "../mvfs" }
mvfs = { path = "../mvfs", version = "0.3.0" }
fuser = "0.11.0"
structopt = "0.3.26"
indexmap = "1.9.1"
Expand Down
6 changes: 3 additions & 3 deletions mvsqlite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mvsqlite"
version = "0.3.0-beta.1"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Heyang Zhou <[email protected]>"]
Expand All @@ -17,7 +17,7 @@ tokio = { version = "1", features = ["full"] }
log = "0.4"
rand = "0.8.5"
stackful = "0.1.5"
mvclient = { path = "../mvclient" }
mvclient = { path = "../mvclient", version = "0.3.0" }
tracing = "0.1"
ctor = "0.1.22"
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "json"], optional = true }
Expand All @@ -27,7 +27,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
lazy_static = "1.4.0"
reqwest = { version = "0.11.11", default-features = false }
mvfs = { path = "../mvfs" }
mvfs = { path = "../mvfs", version = "0.3.0" }

[features]
default = ["loadext", "syscall", "rustls-tls", "global-init"]
Expand Down
2 changes: 1 addition & 1 deletion mvstore-stress/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
mvclient = { path = "../mvclient" }
mvclient = { path = "../mvclient", version = "0.3.0" }
anyhow = "1"
thiserror = "1"
tokio = { version = "1", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion mvstore/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mvstore"
version = "0.3.0-beta.1"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Heyang Zhou <[email protected]>"]
Expand Down

0 comments on commit f2117d3

Please sign in to comment.