From 13a8fc7b6b12b65edaacd74f95c2d7137ca5123d Mon Sep 17 00:00:00 2001 From: roseduan Date: Wed, 21 Jun 2023 22:21:28 +0800 Subject: [PATCH] upgrade wal to 1.1 and add changelog for 2.2 --- CHANGELOG.md | 8 ++++++++ go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 290574d6..5a8e9a1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# Release 2.2.0(2023-06-21) + +## 🚀 New Features +* Support Merge operation, to reclaim disk space. + * `Merge` will rewrite all the valid data into new file, and delete the old files. + * It maybe a very time-consuming operation, so it is recommended to use it when the database is idle. +* Add tests in windows, with worlflow. + # Release 2.1.0(2023-06-15) ## 🚀 New Features diff --git a/go.mod b/go.mod index 9bba2a66..e0bafd0a 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/rosedblabs/go-immutable-radix/v2 v2.0.1-0.20230614125820-f2a7bc058c90 - github.com/rosedblabs/wal v1.0.1-0.20230618095314-83a5e84f0043 + github.com/rosedblabs/wal v1.1.0 ) require ( diff --git a/go.sum b/go.sum index 1d6ff75b..b50c7195 100644 --- a/go.sum +++ b/go.sum @@ -16,8 +16,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/rosedblabs/go-immutable-radix/v2 v2.0.1-0.20230614125820-f2a7bc058c90 h1:AeuxZLgpVnxCjR6mvRJiDQATgOeSme59HX/rWCBjjvw= github.com/rosedblabs/go-immutable-radix/v2 v2.0.1-0.20230614125820-f2a7bc058c90/go.mod h1:Hk7adp95/ngEfetvapVWdgneuZb15mi9nH/keSH/KqI= -github.com/rosedblabs/wal v1.0.1-0.20230618095314-83a5e84f0043 h1:Cl92HYZe5z7ktcouC+3rEgHszG++sMvkjIyZLgERIEQ= -github.com/rosedblabs/wal v1.0.1-0.20230618095314-83a5e84f0043/go.mod h1:tYh0WapCkDQrID7PNsNHpsZDlkTczJVAFaTySmwaD7U= +github.com/rosedblabs/wal v1.1.0 h1:ahD8V2kzGaY99SWDQ9o4jqzKru+8hI4nIipqhYjOLvs= +github.com/rosedblabs/wal v1.1.0/go.mod h1:tYh0WapCkDQrID7PNsNHpsZDlkTczJVAFaTySmwaD7U= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= golang.org/x/exp v0.0.0-20221215174704-0915cd710c24 h1:6w3iSY8IIkp5OQtbYj8NeuKG1jS9d+kYaubXqsoOiQ8=