Skip to content

Commit e15b9ec

Browse files
authored
bump 0.2.0 (#216)
* bump 0.2.0 Signed-off-by: tabokie <xy.tao@outlook.com> * update rustc Signed-off-by: tabokie <xy.tao@outlook.com> * add changelog Signed-off-by: tabokie <xy.tao@outlook.com>
1 parent 0e066f8 commit e15b9ec

File tree

5 files changed

+29
-5
lines changed

5 files changed

+29
-5
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Raft Engine Change Log
2+
3+
## [Unreleased]
4+
5+
## [0.2.0] - 2022-05-25
6+
7+
### Bug Fixes
8+
9+
* Fix a false negative case of `LogBatch::is_empty()` #212
10+
* Fix fsync ordering when rotating log file #219
11+
12+
### New Features
13+
14+
* Support limiting the memory usage of Raft Engine under new feature `swap` #211
15+
* Add a new Prometheus counter `raft_engine_memory_usage` to track memory usage #207
16+
17+
### Improvements
18+
19+
* Reduce memory usage by 25% #206
20+
21+
### Public API Changes
22+
23+
* Introduce a new error type `Full` #206
24+
* `LogBatch::merge` returns a `Result<()>` instead of `()` #206

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "raft-engine"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["The TiKV Project Developers"]
55
edition = "2018"
66
rust-version = "1.57"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Put this in your Cargo.toml:
5454

5555
```rust
5656
[dependencies]
57-
raft-engine = "0.1.0"
57+
raft-engine = "0.2.0"
5858
```
5959

6060
Available Cargo features:

ctl/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "raft-engine-ctl"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["The TiKV Project Developers"]
55
edition = "2018"
66
rust-version = "1.57"
@@ -11,4 +11,4 @@ license = "Apache-2.0"
1111
[dependencies]
1212
clap = { version = "3.0.0-rc.0", features = ["derive", "cargo"] }
1313
env_logger = "0.9"
14-
raft-engine = { path = "..", version = "0.1.0", features = ["scripting", "internals"] }
14+
raft-engine = { path = "..", version = "0.2.0", features = ["scripting", "internals"] }

stress/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stress"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["The TiKV Authors"]
55
edition = "2018"
66

0 commit comments

Comments
 (0)