aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/zenstore/gc.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a890bbe9d..9a5d04e21 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,5 @@
##
+- Bugfix: GC logging now correctly reports used/free disk space in log message
- Improvement: also reject bad bucket GET operations to prevent the buckets from being created on disk
## 0.2.27
diff --git a/src/zenstore/gc.cpp b/src/zenstore/gc.cpp
index ef8945d91..bddc3a42a 100644
--- a/src/zenstore/gc.cpp
+++ b/src/zenstore/gc.cpp
@@ -991,8 +991,8 @@ GcScheduler::SchedulerThread()
NiceBytes(TotalSize.DiskSize),
DiskSizeSoftLimit == 0 ? "" : fmt::format(", {} soft limit", NiceBytes(DiskSizeSoftLimit)),
m_Config.RootDirectory,
+ NiceBytes(Space.Total - Space.Free),
NiceBytes(Space.Free),
- NiceBytes(Space.Total),
NiceTimeSpanMs(uint64_t(std::chrono::milliseconds(LoadGraphTime).count())),
NiceTimeSpanMs(uint64_t(std::chrono::milliseconds(LoadGraphTime).count() / PressureGraphLength)),
LoadGraph,