changelog

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
This commit is contained in:
Krasi Georgiev 2018-12-08 01:06:48 +02:00
parent fced260a24
commit db127a60e0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
## master / unreleased
- [CHANGE] `NewLeveledCompactor` takes a context so that a compaction is canceled when closing the db.
- [ENHANCEMENT] When closing the db any running compaction will be cancelled so it doesn't block.
## 0.3.0

View File

@ -775,6 +775,6 @@ func TestCancelCompactions(t *testing.T) {
start := time.Now()
<-dbClosed
actT := time.Since(start)
expT := time.Duration(50000000)
expT := time.Duration(100000000)
testutil.Assert(t, actT < expT, "closing the db took more than expected. exp: <%v, act: %v", expT, actT)
}