Tencent / Tendis

Tendis is a high-performance distributed storage system fully compatible with the Redis protocol.
http://tendis.cn
Other
2.87k stars 317 forks source link

The rocks.keep_log_file_num 1 configuration couldn't be applied for the 'catalog' #221

Open mozz85 opened 1 year ago

mozz85 commented 1 year ago

My configuration

port 51002
daemon on
loglevel notice
logdir /home/tendis/log
dumpdir /home/tendis/dump
dir /home/tendis/db
pidfile /home/tendis/tendisplus.pid
slowlog /home/tendis/log/slowlog
rocks.blockcachemb 4096

rocks.keep_log_file_num 1

executorThreadNum 48

log file in 0~9

image

-rw-r--r--. 1 root root       0 Nov 18 18:22 LOCK
-rw-r--r--. 1 root root   58151 Dec  5 11:33 LOG
-rw-r--r--. 1 root root     716 Dec  5 11:33 MANIFEST-000908

log file in catalog

image

-rw-r--r--. 1 root root  7561 Dec  5 11:46 LOG
-rw-r--r--. 1 root root 33473 Dec  5 11:33 LOG.old.1670211216114791
-rw-r--r--. 1 root root  7561 Dec  5 11:33 LOG.old.1670211217165603
-rw-r--r--. 1 root root  7561 Dec  5 11:33 LOG.old.1670211218216412