dragonfly/tools
Roman Gershman 6e76f8e6cc
fix: logrotate for dragonfly logs (#1972)
The new logrotate settings assume that dragonfly closes a log file
once it grows to large. It never rotates file that is currently open for writing.

Specifically logrotate:

1. rotate only log files
2. skip those that are currently open by as process.
3. compresses using zstd which is more cpu efficient than gzip
4. does not truncate/create old files as 0-sized blobs - just renames them

Fixes #1935

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2023-10-09 20:08:37 +03:00
..
docker fix: alpine weekly pipeline (#1811) 2023-09-06 08:27:40 +00:00
local/monitoring Add renderer to grafana (#739) 2023-02-01 13:26:07 +02:00
packaging fix: logrotate for dragonfly logs (#1972) 2023-10-09 20:08:37 +03:00
cache_logs_player.py Cache logs player batching (#623) 2022-12-30 12:29:11 +03:00
cache_testing.py fix: improvements to caching tool 2023-01-11 15:11:37 +02:00
cluster_mgr.py test(cluster): Extend cluster_mgr.py (#1426) 2023-06-20 10:13:57 +03:00
defrag_db.py tools: Hash defrag script (#1723) 2023-08-22 09:11:34 +03:00
defrag_mem_test.py chore(server): upgrade mimalloc for v2.0.7 2022-12-26 13:08:54 +02:00
json_benchmark.py feat(server): JSON family using JSON type (#561) 2022-12-14 19:25:10 +02:00
release.sh fix(build): verify build image for releases (#664) 2023-01-10 15:46:20 +02:00
requirements.txt chore(deps): bump redis from 4.3.4 to 4.4.4 in /tools (#1221) 2023-05-17 10:13:59 +03:00