From 0bf5fad47808148aa6c4edcd1ee01ef730daf593 Mon Sep 17 00:00:00 2001 From: Mitar Date: Wed, 17 Jul 2024 21:01:33 +0200 Subject: [PATCH] chore: remove obsolete comment (#2039) This is a leftover from when Badger supported different modes (https://github.com/dgraph-io/badger/pull/1555). --- options.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/options.go b/options.go index 8d0f0a51b..bb6131b30 100644 --- a/options.go +++ b/options.go @@ -173,8 +173,6 @@ func DefaultOptions(path string) Options { // Benchmark code can be found in table/builder_test.go file ZSTDCompressionLevel: 1, - // Nothing to read/write value log using standard File I/O - // MemoryMap to mmap() the value log files // (2^30 - 1)*2 when mmapping < 2^31 - 1, max int32. // -1 so 2*ValueLogFileSize won't overflow on 32-bit systems. ValueLogFileSize: 1<<30 - 1,