Skip to content

Commit 2c06dc4

Browse files
committed
Doc: update change log for 0.7.2..0.7.3
1 parent 8b3f6a4 commit 2c06dc4

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

change-log.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## v0.7.3
2+
3+
### Changed:
4+
5+
- Changed: [25e94c36](https://github.com/datafuselabs/openraft/commit/25e94c36e5c8ae640044196070f9a067d5f105a3) InstallSnapshotResponse: replies the last applied log id; Do not install a smaller snapshot; by 张炎泼; 2022-09-22
6+
7+
A snapshot may not be installed by a follower if it already has a higher
8+
`last_applied` log id locally.
9+
In such a case, it just ignores the snapshot and respond with its local
10+
`last_applied` log id.
11+
12+
This way the applied state(i.e., `last_applied`) will never revert back.
13+
14+
### Fixed:
15+
16+
- Fixed: [21684bbd](https://github.com/datafuselabs/openraft/commit/21684bbdfdc54b18daa68f623afc2b0be6718c72) potential inconsistency when installing snapshot; by 张炎泼; 2022-09-22
17+
18+
The conflicting logs that are before `snapshot_meta.last_log_id` should
19+
be deleted before installing a snapshot.
20+
21+
Otherwise there is chance the snapshot is installed but conflicting logs
22+
are left in the store, when a node crashes.
23+
124
## v0.7.2
225

326
### Added:

change-log/v0.7.3.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
### Changed:
2+
3+
- Changed: [25e94c36](https://github.com/datafuselabs/openraft/commit/25e94c36e5c8ae640044196070f9a067d5f105a3) InstallSnapshotResponse: replies the last applied log id; Do not install a smaller snapshot; by 张炎泼; 2022-09-22
4+
5+
A snapshot may not be installed by a follower if it already has a higher
6+
`last_applied` log id locally.
7+
In such a case, it just ignores the snapshot and respond with its local
8+
`last_applied` log id.
9+
10+
This way the applied state(i.e., `last_applied`) will never revert back.
11+
12+
### Fixed:
13+
14+
- Fixed: [21684bbd](https://github.com/datafuselabs/openraft/commit/21684bbdfdc54b18daa68f623afc2b0be6718c72) potential inconsistency when installing snapshot; by 张炎泼; 2022-09-22
15+
16+
The conflicting logs that are before `snapshot_meta.last_log_id` should
17+
be deleted before installing a snapshot.
18+
19+
Otherwise there is chance the snapshot is installed but conflicting logs
20+
are left in the store, when a node crashes.

0 commit comments

Comments
 (0)