1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/tools
Roman Gershman 4012ad1855
fix: prevents Dragonfly from blocking in epoll during snapshotting (#3911)
The problem - we used file write in non-direct mode when writing snapshots in epoll mode.
As a result - lots of data was cached into OS memory. But then during the rename operation,
when we rename "xxx.dfs.tmp" into "xxx.dfs", the OS flushes the file caches and the thread
is stuck in OS system call rename for a long time.

The fix - to use DIRECT mode and to avoid caching the data into OS caches at all.
Fixes #3895

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2024-10-12 18:26:12 +03: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 fix(grafana): Fix grafana dragonfly dashboard datasource (#3608) 2024-08-30 17:15:51 +00:00
packaging fix: named volume permissions in docker (#3518) 2024-08-22 11:33:29 +03:00
replay chore(deps): bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 in /tools/replay (#3603) 2024-08-29 16:40:37 +03: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 fix: prevents Dragonfly from blocking in epoll during snapshotting (#3911) 2024-10-12 18:26:12 +03:00