From 63a3ee039c1da83711287462389f56021bf9d45c Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Wed, 13 Nov 2024 09:34:20 +0000 Subject: [PATCH] doc clarification --- docs/internals/LOG_V2.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/internals/LOG_V2.md b/docs/internals/LOG_V2.md index 8172e286..6d0eaef0 100644 --- a/docs/internals/LOG_V2.md +++ b/docs/internals/LOG_V2.md @@ -77,6 +77,11 @@ memtable needs to be created when this situation occurs. When a new memtable is created the old ones will not be written to any further and will be deleted as soon as they are emptied. +There is one additional condition at which a new memtable will be created and +that is the case where the size of memtable exceed 1M entries. This is done +to avoid very large tables which can still use substantial amounts of memory even +after all entries have been individually deleted. + ## WAL Module: `ra_log_wal`