1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/tools
s13k ff2359af30
fix(tools): Prevent dragonfly.logrotate to stop logrotate service (#4176)
Update dragonfly.logrotate

If multiple logs are being rotated and one of them fails (due to exit 1), the other logs that follow won't be rotated either, unless logrotate is run again.

If you want to prevent the rotation of a specific log file and not affect the rest of the logs, you'll want to handle the condition properly to ensure that logrotate doesn't abort due to the failure of the prerotate script.

To prevent the rotation of a specific log file without causing issues for other logs, you can use exit 0 to prevent rotation cleanly or design your prerotate script to handle conditions carefully.

Signed-off-by: s13k <s13k@pm.me>
2024-11-24 17:27:05 +00:00
..
benchmark refactor: set info_replication_valkey_compatible=true (#3467) 2024-08-08 21:42:58 +03:00
docker fix: allow the healthcheck run in non-privileged containers as well (#3731) 2024-09-20 05:41:06 +00:00
eviction feat(server): perform eviction upon memory pressure in cache mode (#2084) 2023-11-01 11:11:27 -07:00
local/monitoring adjusted grafana dashboard to be more user friendly (#4165) 2024-11-24 09:16:00 +02:00
packaging fix(tools): Prevent dragonfly.logrotate to stop logrotate service (#4176) 2024-11-24 17:27:05 +00:00
replay chore(deps): bump github.com/redis/go-redis/v9 from 9.5.1 to 9.7.0 in /tools/replay (#4062) 2024-11-04 22:31:01 +02:00
balls_bins.py chore: add balls and bins simulator (#2001) 2023-10-11 01:18:29 +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 fix: Fix cluster_mgr.py (#3730) 2024-09-18 11:44:15 +03:00
defrag_db.py tools: Hash defrag script (#1723) 2023-08-22 09:11:34 +03:00
defrag_mem_test.py feat: add defragment command (#3003) 2024-05-08 14:26:42 +03:00
generate-tls-files.sh feat(server): Use mimalloc in SSL calls (#2710) 2024-03-11 08:25:59 +02:00
json_benchmark.py feat(server): JSON family using JSON type (#561) 2022-12-14 19:25:10 +02:00
parse_allocator_tracking_logs.py chore: add a script that parses allocator tracking logs (#3687) 2024-09-10 07:26:44 +00:00
release.sh fix: release pipeline (#2439) 2024-01-18 16:52:19 +02:00
requirements.txt chore(deps): bump numpy from 1.24.1 to 2.1.3 in /tools (#4063) 2024-11-04 22:30:34 +02:00