1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/tests/dragonfly
Roman Gershman 0e7ae34fe4
fix: enforce load limits when loading snapshot ()
* fix: enforce load limits when loading snapshot

Prevent loading snapshots with used memory higher than max memory limit.

1. Store the used memory metadata only inside the summary file
2. Load the summary file before loading anything else, and if the used-memory is higher,
   abort the load.
---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2024-11-20 06:12:47 +02:00
..
seeder chore: collection size () 2024-10-08 18:51:11 +03:00
__init__.py chore: Small refactor of DflyInstance () 2023-09-28 10:11:11 +03:00
acl_family_test.py chore: add logs to test_acl_cat_commands_multi_exec_squash () 2024-09-30 12:03:40 +00:00
cluster_mgr_test.py chore: do not close connections at the end of pytest () 2024-09-30 09:54:41 +03:00
cluster_test.py test: add test for snapshoting during migration () 2024-11-13 13:40:00 +02:00
config_test.py chore: use decode_responses when creating a redis client () 2023-11-03 11:00:26 +02:00
conftest.py chore: do not close connections at the end of pytest () 2024-09-30 09:54:41 +03:00
connection_test.py fix: regression in squashing code when determining eval commands () 2024-11-11 19:54:47 +00:00
eval_test.py fix(server): Implement SCRIPT GC command () 2024-08-02 23:49:51 +03:00
generic_test.py feat(server): introduce rss oom limit () 2024-09-22 13:28:24 +03:00
http_conf_test.py fix: authorize the http connection to call commands () 2024-04-08 13:19:01 +03:00
instance.py chore: run tests with list_experimental_v2 enabled () 2024-11-15 10:33:45 +01:00
json_test.py fix: Fix unsupported object type rejson-rl in RedisInsight () 2024-07-27 19:05:00 +02:00
list_family_test.py feat: Add black formatter to the project () 2023-07-17 13:13:12 +03:00
management_test.py feat: implement CONFIG GET command () 2023-08-28 19:26:38 +03:00
memory_test.py chore: run tests with list_experimental_v2 enabled () 2024-11-15 10:33:45 +01:00
proxy.py feat: Expose replica_reconnect_count for Prometheus metrics () 2024-08-13 12:34:01 +02:00
pymemcached_test.py fix: test_noreply_pipeline flakiness () 2024-11-10 13:39:24 +02:00
redis_replication_test.py feat: add slave_repl_offset to the replication section. () 2024-08-30 18:58:07 +03:00
replication_test.py fix: enforce load limits when loading snapshot () 2024-11-20 06:12:47 +02:00
requirements.txt chore(deps): bump pytest-repeat from 0.9.1 to 0.9.3 in /tests/dragonfly () 2024-11-04 23:47:24 +02:00
search_test.py feat(search): STOPWORDS () 2024-10-10 21:58:12 +03:00
seeder_test.py chore: collection size () 2024-10-08 18:51:11 +03:00
sentinel_test.py fix: flaky test_failover test () 2024-10-28 14:58:36 +02:00
server_family_test.py chore: do not close connections at the end of pytest () 2024-09-30 09:54:41 +03:00
shutdown_test.py chore: replace session wide fixtures with scope () 2024-07-02 10:26:26 +03:00
snapshot_test.py fix: slow CI tests () 2024-11-13 10:32:31 +02:00
tiering_test.py chore: upload all the logs from /tmp () 2024-07-04 09:17:25 +03:00
tls_conf_test.py fix: HELLO AUTH with non default user () 2024-08-11 14:35:26 +03:00
utility.py fix: enforce load limits when loading snapshot () 2024-11-20 06:12:47 +02:00