diff --git a/src/ZoneTree/IZoneTree.cs b/src/ZoneTree/IZoneTree.cs index 9fe93c3..06edc4c 100644 --- a/src/ZoneTree/IZoneTree.cs +++ b/src/ZoneTree/IZoneTree.cs @@ -134,6 +134,11 @@ public interface IZoneTree : IDisposable /// /// Counts Keys in the entire database with a full scan. /// + /// + /// In regular cases, the disk segment does not contain deleted records. + /// However, TTL or custom deletion logic would let the disk segment + /// contains deleted records. In that case, a full scan is required for the count. + /// /// Number of the valid records in the tree. int CountFullScan();