diff --git a/docs/release-notes/release-notes-0.14.1.md b/docs/release-notes/release-notes-0.14.1.md new file mode 100644 index 00000000..d0203874 --- /dev/null +++ b/docs/release-notes/release-notes-0.14.1.md @@ -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 \ No newline at end of file diff --git a/kvdb/bolt_compact.go b/kvdb/bolt_compact.go index 72d470f9..766616f0 100644 --- a/kvdb/bolt_compact.go +++ b/kvdb/bolt_compact.go @@ -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)