Skip to content

Commit f2117d3

Browse files
authored
v0.3.0 (#107)
1 parent 50e6060 commit f2117d3

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mvclient/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mvclient"
3-
version = "0.3.0-beta.1"
3+
version = "0.3.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
authors = ["Heyang Zhou <[email protected]>"]

mvclient/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ impl Transaction {
430430
}
431431

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

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

638638
if self.page_buffer.is_empty() && metadata.is_none() && fast_writes.is_empty() {

mvfs/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mvfs"
3-
version = "0.3.0-beta.1"
3+
version = "0.3.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
authors = ["Heyang Zhou <[email protected]>"]
@@ -14,7 +14,7 @@ crate-type = ["rlib", "staticlib"]
1414
anyhow = "1"
1515
thiserror = "1"
1616
tokio = { version = "1", features = ["full"] }
17-
mvclient = { path = "../mvclient" }
17+
mvclient = { path = "../mvclient", version = "0.3.0" }
1818
tracing = "0.1"
1919
serde = { version = "1", features = ["derive"] }
2020
serde_json = "1"

mvsqlite-fuse/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ thiserror = "1"
1111
tokio = { version = "1", features = ["full"] }
1212
log = "0.4"
1313
rand = "0.8.5"
14-
mvclient = { path = "../mvclient" }
14+
mvclient = { path = "../mvclient", version = "0.3.0" }
1515
tracing = "0.1"
1616
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "tracing-log", "json"] }
1717
libc = "0.2"
@@ -20,7 +20,7 @@ serde = { version = "1", features = ["derive"] }
2020
serde_json = "1"
2121
lazy_static = "1.4.0"
2222
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls"] }
23-
mvfs = { path = "../mvfs" }
23+
mvfs = { path = "../mvfs", version = "0.3.0" }
2424
fuser = "0.11.0"
2525
structopt = "0.3.26"
2626
indexmap = "1.9.1"

mvsqlite/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mvsqlite"
3-
version = "0.3.0-beta.1"
3+
version = "0.3.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
authors = ["Heyang Zhou <[email protected]>"]
@@ -17,7 +17,7 @@ tokio = { version = "1", features = ["full"] }
1717
log = "0.4"
1818
rand = "0.8.5"
1919
stackful = "0.1.5"
20-
mvclient = { path = "../mvclient" }
20+
mvclient = { path = "../mvclient", version = "0.3.0" }
2121
tracing = "0.1"
2222
ctor = "0.1.22"
2323
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "json"], optional = true }
@@ -27,7 +27,7 @@ serde = { version = "1", features = ["derive"] }
2727
serde_json = "1"
2828
lazy_static = "1.4.0"
2929
reqwest = { version = "0.11.11", default-features = false }
30-
mvfs = { path = "../mvfs" }
30+
mvfs = { path = "../mvfs", version = "0.3.0" }
3131

3232
[features]
3333
default = ["loadext", "syscall", "rustls-tls", "global-init"]

mvstore-stress/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
mvclient = { path = "../mvclient" }
9+
mvclient = { path = "../mvclient", version = "0.3.0" }
1010
anyhow = "1"
1111
thiserror = "1"
1212
tokio = { version = "1", features = ["full"] }

mvstore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mvstore"
3-
version = "0.3.0-beta.1"
3+
version = "0.3.0"
44
edition = "2021"
55
license = "Apache-2.0"
66
authors = ["Heyang Zhou <[email protected]>"]

0 commit comments

Comments
 (0)