kvdb/bolt_compact: have log message take account space multiplier

[skip ci]
This commit is contained in:
Jamie Turley
2021-11-10 10:54:05 -08:00
committed by Jamie Turley
parent 03adf5c626
commit fb43843253
2 changed files with 10 additions and 1 deletions

View File

@@ -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)