mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-01 18:50:09 +02:00
kvdb/bolt_compact: have log message take account space multiplier
[skip ci]
This commit is contained in:
parent
03adf5c626
commit
fb43843253
9
docs/release-notes/release-notes-0.14.1.md
Normal file
9
docs/release-notes/release-notes-0.14.1.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Release Notes
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
* [Fixed an inaccurate log message during a compaction failure](https://github.com/lightningnetwork/lnd/issues/5937)
|
||||
|
||||
# Contributors (Alphabetical Order)
|
||||
|
||||
* Jamie Turley
|
@ -80,7 +80,7 @@ func (cmd *compacter) execute() (int64, int64, error) {
|
||||
return 0, 0, fmt.Errorf("could not start compaction, "+
|
||||
"destination folder %s only has %d bytes of free disk "+
|
||||
"space available while we need at least %d for worst-"+
|
||||
"case compaction", destFolder, freeSpace, initialSize)
|
||||
"case compaction", destFolder, freeSpace, uint64(marginSize))
|
||||
}
|
||||
|
||||
// Open source database. We open it in read only mode to avoid (and fix)
|
||||
|
Loading…
x
Reference in New Issue
Block a user