mirror of
https://github.com/prometheus/prometheus
synced 2024-12-26 00:23:18 +00:00
changelog
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
This commit is contained in:
parent
fced260a24
commit
db127a60e0
@ -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
|
||||
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user