Skip to content

Commit 5b0ceb6

Browse files
committed
Update CHANGES for 0.5.0 release
1 parent 5dae8e5 commit 5b0ceb6

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGES.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
## v0.5.0, 02.04.2019
2+
3+
Notable changes:
4+
5+
* Added `fsfreeze` support to the `benji-k8s` Docker image. Just add the `benji-backup.me/fsfreeze: yes` annotation to
6+
the PVC. Kubernetes hosts are accessed via pods which are deployed by a DaemonSet, see the Helm chart for details.
7+
8+
* Use bulk inserts to speed up backups of images based on a previous version. This also decreases memory usage.
9+
10+
* Switched from in-memory block lists to an iterator based approach. This will increase performance and decrease
11+
memory usage when backing up large images.
12+
13+
* Fixed a wrong index on the `blocks` table. This should also increase performance. The database will need to be
14+
migrated with `benji database-migrate`.
15+
16+
* Laid the foundation for structured logging.
17+
18+
* Removed database table `stats` and assorted code and commands. Statistics are now kept together with the other
19+
version metadata in the `versions` table. This means they are also removed when the version is removed. If
20+
you want to keep historic statistics you need to export them beforehand with `benji -m ls` or
21+
`benji metadata-export`. This is a breaking change and you might need adjust your scripts. As statistics
22+
are now included in a version's metadata the metadata version is now `1.1.0`. Old metadata backups
23+
and exports with a metadata version of `1.0.0` can be imported by the current version. The statistics will
24+
be empty in that case. The database will need to be migrated with `benji database-migrate`.
25+
26+
* Fixed a bug in the time calculation of `benji enforce` which could lead to a late expiration of versions,
27+
the timing was a few hours off.
28+
29+
I'd like to thank you @olifre and @adambmedent for their testing efforts!
30+
131
## v0.4.0, 20.03.2019
232

333
Notable changes:

0 commit comments

Comments
 (0)