数据目录和快照目录会分别生成log.n, snapshot.n的日志文件。而且每次事物的更新,都会重新生成一个新的日志文件,且n会加1。随着提交的事物越来越多,文件就会越来越大。因此实现了一个定期清理的守护进程,每隔60秒(参数可改)进行清理,只保留最近的3个(参数可改)版本。
-
Notifications
You must be signed in to change notification settings - Fork 1
License
Free0xFF/DatadirPurger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published