A modern replacement for Redis and Memcached
920 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/plot_memtier_latency.py | 55 | def extract_latency_timeseries(data, operation, ignore_last_seconds=3): |
| LOW | tools/plot_memtier_latency.py | 109 | def plot_latency_chart_interactive(data, output_file="latency_chart.html", open_browser=True): |
| LOW | tools/release_notes_generator.py | 1061 | def _build_commit_user_content(commit: Commit) -> str: |
| LOW | tools/release_notes_generator.py | 550 | def _dedupe_highlights_section(notes: str) -> str: |
| LOW | tools/release_notes_generator.py | 1403 | def _score_announce_candidate(analyzed_commit: AnalyzedCommit, promoted_theme_size: int) -> float: |
| LOW | tools/release_notes_generator.py | 1429 | def _select_announce_highlights( |
| LOW | tools/release_notes_generator.py | 1463 | def build_composition_payload( |
| LOW | tools/release_notes_generator.py | 1504 | def _build_release_notes_user_message(payload: CompositionPayload) -> str: |
| LOW | tools/release_notes_generator.py | 1548 | def _build_announce_user_message(payload: CompositionPayload) -> str: |
| LOW | tools/release_notes_generator.py | 1616 | def _build_release_notes_empty_output(payload: CompositionPayload) -> str: |
| LOW | tools/release_notes_generator.py | 1623 | def _build_announce_empty_output(payload: CompositionPayload) -> str: |
| LOW | tools/release_notes_generator.py | 1640 | def _post_process_release_notes(_backend_name: str, notes: str) -> str: |
| LOW | tools/release_notes_generator.py | 522 | def _parse_commit_analysis_json(text: str) -> CommitAnalysis: |
| LOW | tools/cluster_mgr.py | 241 | def build_config_from_existing(args): |
| LOW | tests/dragonfly/cluster_test.py | 19 | def monotonically_increasing_port_number(): |
| LOW | tests/dragonfly/cluster_test.py | 208 | async def wait_for_ft_index_creation(client, idx_name, timeout=5): |
| LOW | tests/dragonfly/cluster_test.py | 234 | async def check_for_no_state_status(admin_clients): |
| LOW | tests/dragonfly/cluster_test.py | 264 | async def test_cluster_commands_fails_when_not_emulate(self, async_client: aioredis.Redis): |
| LOW | tests/dragonfly/cluster_test.py | 276 | def test_cluster_slots_command(self, df_server, cluster_client: redis.RedisCluster): |
| LOW | tests/dragonfly/cluster_test.py | 281 | def test_cluster_help_command(self, cluster_client: redis.RedisCluster): |
| LOW | tests/dragonfly/cluster_test.py | 301 | def test_cluster_slots_command(self, df_server, cluster_client: redis.RedisCluster): |
| LOW | tests/dragonfly/cluster_test.py | 343 | async def test_emulated_cluster_with_replicas(df_factory): |
| LOW | tests/dragonfly/cluster_test.py | 447 | async def test_cluster_managed_service_info(df_factory): |
| LOW | tests/dragonfly/cluster_test.py | 641 | async def test_cluster_slot_ownership_changes(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 1774 | async def test_cluster_replication_migration( |
| LOW | tests/dragonfly/cluster_test.py | 1848 | async def test_start_replication_during_migration( |
| LOW | tests/dragonfly/cluster_test.py | 1911 | async def test_keys_expiration_during_migration(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 1954 | async def test_snapshoting_during_migration( |
| LOW | tests/dragonfly/cluster_test.py | 2044 | async def test_cluster_migration_cancel(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 2100 | async def test_cluster_migration_huge_container(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 2158 | async def test_cluster_migration_while_seeding( |
| LOW | tests/dragonfly/cluster_test.py | 2214 | async def test_cluster_migrations_sequence( |
| LOW | tests/dragonfly/cluster_test.py | 770 | async def test_cluster_replica_sets_non_owned_keys(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 878 | async def test_cluster_flush_slots_after_config_change(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 998 | async def test_cluster_blocking_command(df_server): |
| LOW | tests/dragonfly/cluster_test.py | 1041 | async def test_blocking_commands_cancel(df_factory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 1075 | async def test_cluster_native_client( |
| LOW | tests/dragonfly/cluster_test.py | 1315 | async def test_cluster_flushall_during_migration( |
| LOW | tests/dragonfly/cluster_test.py | 1367 | async def test_cluster_data_migration(df_factory: DflyInstanceFactory, interrupt: bool): |
| LOW | tests/dragonfly/cluster_test.py | 1442 | async def test_migration_serializer_expired_fields(df_factory): |
| LOW | tests/dragonfly/cluster_test.py | 1484 | async def test_migration_with_key_ttl(df_factory): |
| LOW | tests/dragonfly/cluster_test.py | 1527 | async def test_network_disconnect_during_migration(df_factory): |
| LOW | tests/dragonfly/cluster_test.py | 1594 | async def test_cluster_fuzzymigration( |
| LOW | tests/dragonfly/cluster_test.py | 1733 | async def test_cluster_config_reapply(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 2380 | async def test_replicate_disconnect_cluster(df_factory: DflyInstanceFactory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 2448 | async def is_first_master_conn_down(conn): |
| LOW | tests/dragonfly/cluster_test.py | 2480 | def is_offset_eq_master_repl_offset(replication_info: str): |
| LOW | tests/dragonfly/cluster_test.py | 2500 | async def test_replicate_redis_cluster(redis_cluster, df_factory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 2556 | async def test_replicate_disconnect_redis_cluster(redis_cluster, df_factory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 2647 | async def test_cluster_memory_consumption_migration(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 2696 | async def test_migration_timeout_on_sync(df_factory: DflyInstanceFactory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 2771 | async def test_migration_one_after_another(df_factory: DflyInstanceFactory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 2844 | async def test_migration_rebalance_node(df_factory: DflyInstanceFactory, df_seeder_factory): |
| LOW | tests/dragonfly/cluster_test.py | 2988 | async def test_cluster_sharded_pub_sub(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 3032 | async def test_cluster_sharded_pubsub_shard_commands(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 3074 | async def test_cluster_migration_errors_num(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 3119 | async def test_cluster_sharded_pub_sub_migration(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 3167 | async def test_readonly_replication( |
| LOW | tests/dragonfly/cluster_test.py | 3220 | async def test_cancel_blocking_cmd_during_mygration_finalization(df_factory: DflyInstanceFactory): |
| LOW | tests/dragonfly/cluster_test.py | 3325 | async def test_replica_takeover_moved( |
| 428 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/release_notes_generator.py | 81 | # --------------------------------------------------------------------------- |
| LOW | tools/generate-tls-files.sh | 1 | #!/bin/bash |
| LOW | tools/packaging/generate_debian_package.sh | 1 | #!/usr/bin/env bash |
| LOW | tools/local/monitoring/prometheus/prometheus.yml | 1 | # my global config |
| LOW | tools/replay/workers.go | 301 | } |
| LOW | tests/dragonfly/search_test.py | 1101 | assert ( |
| LOW | tests/dragonfly/search_test.py | 1121 | # "name", |
| LOW | tests/dragonfly/search_test.py | 1141 | # "2", |
| LOW | tests/dragonfly/bull_sidekiq_test.py | 21 | # @dfly_args({"lock_on_hashtags": True}) |
| LOW | tests/integration/.run_ioredis_valid_test.sh | 1 | #!/usr/bin/env bash |
| LOW | tests/fakeredis/test/test_mixins/test_scan.py | 81 | # key_to_remove = keys[0] |
| LOW | contrib/charts/dragonfly/Chart.yaml | 1 | apiVersion: v2 |
| LOW | contrib/charts/dragonfly/values.yaml | 41 | podSecurityContext: {} |
| LOW | contrib/charts/dragonfly/values.yaml | 121 | # -- TLS certificate |
| LOW | contrib/charts/dragonfly/values.yaml | 181 | |
| LOW | .github/bullmq-skipped-tests.txt | 1 | # BullMQ tests excluded from CI runs against Dragonfly |
| LOW | .github/workflows/fuzz-pr.yml | 1 | # Run AFL++ fuzzing on PRs that touch C++ code. |
| LOW | fuzz/triage_crashes.sh | 1 | #!/usr/bin/env bash |
| LOW | src/core/oah_set.h | 1 | // Copyright 2024, DragonflyDB authors. All rights reserved. |
| LOW | src/core/cms.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/topk.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/topk.h | 21 | |
| LOW | src/core/topk.h | 41 | // degrade overall database throughput, hence the strict separation of concerns. |
| LOW | src/core/topk.h | 101 | // |
| LOW | src/core/top_keys.h | 1 | // Copyright 2025, DragonflyDB authors. All rights reserved. |
| LOW | src/core/top_keys.h | 21 | // increments, and does not use PMR allocators (which are required for strict memory |
| LOW | src/core/sharded_hash_map.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/sharded_hash_map.h | 21 | // Each shard contains an absl::flat_hash_map protected by two fiber-aware locks: |
| LOW | src/core/sharded_hash_map.h | 41 | // Thread safety guarantees: |
| LOW | src/core/sharded_hash_map.h | 121 | |
| LOW | src/core/string_set.h | 1 | // Copyright 2022, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dash_internal.h | 1 | // Copyright 2024, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dash_internal.h | 1261 | // we extract local_depth bits from the left part of the hash. Since we extended local_depth, |
| LOW | src/core/dash_internal.h | 1281 | // of items with the same bucket id, say 0. Lots of items will go to the initial segment |
| LOW | src/core/dash_internal.h | 1501 | |
| LOW | src/core/glob_matcher.h | 1 | // Copyright 2025, DragonflyDB authors. All rights reserved. |
| LOW | src/core/glob_matcher.h | 41 | private: |
| LOW | src/core/compact_object.h | 1 | // Copyright 2024, DragonflyDB authors. All rights reserved. |
| LOW | src/core/compact_object.h | 241 | |
| LOW | src/core/dict_builder.h | 1 | // Copyright 2025, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dict_builder.h | 21 | unsigned step); |
| LOW | src/core/stream_node.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/flatbuffers.h | 1 | // Copyright 2024, DragonflyDB authors. All rights reserved. |
| LOW | src/core/tiering_types.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/bptree_set.h | 81 | ToRank(rank, &path); |
| LOW | src/core/size_tracking_channel.h | 1 | // Copyright 2023, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dense_set.h | 1 | // Copyright 2022, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dense_set.h | 21 | // dict requires to allocate dictEntry per each addition in addition to the supplied key. |
| LOW | src/core/qlist.h | 1 | // Copyright 2024, DragonflyDB authors. All rights reserved. |
| LOW | src/core/simd_op.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/allocation_tracker.h | 1 | // Copyright 2024, DragonflyDB authors. All rights reserved. |
| LOW | src/core/sorted_map.h | 1 | // Copyright 2023, Roman Gershman. All rights reserved. |
| LOW | src/core/sse_port.h | 1 | // Copyright 2023, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dash.h | 1 | // Copyright 2022, DragonflyDB authors. All rights reserved. |
| LOW | src/core/dash.h | 341 | // table during the traversal, then Traverse() will eventually reach it even when the table |
| LOW | src/core/collection_entry.h | 1 | // Copyright 2026, DragonflyDB authors. All rights reserved. |
| LOW | src/core/search/ast_expr.h | 1 | // Copyright 2023, DragonflyDB authors. All rights reserved. |
| LOW | src/core/search/hnsw_index.h | 1 | // Copyright 2023, DragonflyDB authors. All rights reserved. |
| LOW | src/core/search/hnsw_index.h | 81 | // Get nodes in the specified range [start, end) |
| LOW | src/core/search/compressed_sorted_set.h | 1 | #pragma once |
| 145 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/release_notes_generator.py | 1056 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1058 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 81 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 83 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 133 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 135 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 329 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 331 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 589 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 591 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 908 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 910 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 952 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 954 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1028 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1030 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1313 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1315 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1730 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 1732 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 517 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/release_notes_generator.py | 519 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/pubsub/celery-test.py | 80 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 82 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 91 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 93 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 20 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 22 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 65 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 67 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 166 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 168 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 185 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 187 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 247 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 249 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 456 | # ------------------------ |
| MEDIUM | tools/pubsub/celery-test.py | 458 | # ------------------------ |
| MEDIUM | .github/bullmq-skipped-tests.txt | 8 | # ── DRAGONFLY BUG ──────────────────────────────────────────────────────────── |
| MEDIUM | .github/bullmq-skipped-tests.txt | 18 | # ── FLAKY ───────────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 18 | # ─── Colors ─────────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 26 | # ─── Config ─────────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 49 | # ─── Args ───────────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 75 | # ─── Working directory ──────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 84 | # ─── Extract zip ────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 89 | # ─── Find crash archives ────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 101 | # ─── Locate replay_crash.py ─────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 110 | # ─── Helpers ────────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 159 | # ─── Main loop ──────────────────────────────────────────────────────────────── |
| MEDIUM | fuzz/triage_crashes.sh | 324 | # ─── Summary ────────────────────────────────────────────────────────────────── |
| MEDIUM | src/server/snapshot.h | 26 | // ┌────────────────┐ ┌─────────────┐ |
| MEDIUM | src/server/snapshot.h | 28 | // └──────┬─────────┘ └─┬───────────┘ |
| MEDIUM | src/server/snapshot.h | 31 | // ┌──────────────────────────┐ |
| MEDIUM | src/server/snapshot.h | 33 | // └────────────┬─────────────┘ if default is used on another db index |
| MEDIUM | src/server/snapshot.h | 37 | // ┌──────────────────────────┐ ┌─────────────────────────┐ |
| MEDIUM | src/server/snapshot.h | 39 | // └─────────────┬────────────┘ └────────────┬────────────┘ |
| MEDIUM | src/server/snapshot.h | 43 | // ▼ ┌──────────────────────────┐ |
| MEDIUM | src/server/snapshot.h | 45 | // ┌──────────────────────────────┐ │ (appends journal entry │ |
| MEDIUM | src/server/snapshot.h | 47 | // └──────────────────────────────┘ └──────────────────────────┘ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/plot_memtier_latency.py | 133 | print("Error: No operation data found in JSON") |
| MEDIUM | tools/plot_memtier_latency.py | 354 | print("Error: No operation data found in JSON") |
| MEDIUM | tools/plot_memtier_latency.py | 535 | print(f"Error: Input file '{input_file}' not found!") |
| LOW | tools/defrag_mem_test.py | 100 | except Exception as e: |
| LOW | tools/defrag_mem_test.py | 159 | except Exception as e: |
| MEDIUM | tools/defrag_mem_test.py | 76 | def stats_check(connection, condition): |
| LOW | tools/release_notes_generator.py | 940 | except Exception: |
| LOW | tools/release_notes_generator.py | 1162 | except Exception as e: |
| LOW | tools/release_notes_generator.py | 2005 | except Exception as e: |
| LOW | tools/cluster_mgr.py | 70 | except Exception as e: |
| LOW | tools/defrag_db.py | 41 | except Exception as e: |
| MEDIUM | tools/defrag_db.py | 47 | print("Error recycling", recycled) |
| LOW | tools/pubsub/stress.py | 268 | except Exception as e: |
| LOW | tools/pubsub/celery-test.py | 121 | except Exception: |
| LOW | tools/pubsub/celery-test.py | 209 | except Exception: |
| LOW | tools/pubsub/celery-test.py | 234 | except Exception: |
| LOW | tools/pubsub/celery-test.py | 311 | except Exception: |
| LOW | tools/pubsub/celery-test.py | 379 | except Exception as e: |
| LOW | tests/dragonfly/cluster_test.py | 61 | except Exception as e: |
| LOW | tests/dragonfly/cluster_test.py | 3622 | except Exception: |
| LOW | tests/dragonfly/instance.py | 508 | except Exception as e: |
| LOW | tests/dragonfly/instance.py | 513 | except Exception as e: |
| LOW | tests/dragonfly/conftest.py | 65 | except Exception: |
| LOW | tests/dragonfly/conftest.py | 113 | except Exception: |
| LOW | tests/dragonfly/conftest.py | 123 | except Exception: |
| LOW | tests/dragonfly/conftest.py | 323 | except Exception: |
| LOW | tests/dragonfly/conftest.py | 325 | except Exception as e: |
| LOW | tests/dragonfly/search_benchmark_utils.py | 168 | except Exception as e: |
| LOW | tests/dragonfly/acl_family_test.py | 228 | except Exception as e: |
| LOW | tests/dragonfly/connection_test.py | 228 | except Exception: |
| LOW | tests/dragonfly/utility.py | 737 | except Exception as e: |
| MEDIUM | tests/dragonfly/replication_test.py | 3204 | def replicate_inside_multi(): |
| LOW | tests/dragonfly/replication_test.py | 3889 | except Exception as e: |
| LOW | tests/dragonfly/replication_test.py | 3899 | except Exception: |
| LOW | tests/dragonfly/shutdown_test.py | 103 | except Exception as e: |
| MEDIUM | tests/dragonfly/search_test.py | 649 | def test_redis_om(df_server): |
| LOW | tests/dragonfly/search_test.py | 778 | except Exception: |
| LOW | tests/dragonfly/search_test.py | 782 | except Exception: |
| LOW | tests/dragonfly/search_test.py | 791 | except Exception: |
| LOW | tests/dragonfly/search_test.py | 1245 | except Exception as e: |
| LOW | tests/dragonfly/snapshot_test.py | 291 | except Exception as e: |
| LOW | tests/dragonfly/snapshot_test.py | 306 | except Exception as e: |
| LOW | tests/dragonfly/snapshot_test.py | 709 | except Exception: |
| LOW | tests/dragonfly/snapshot_test.py | 807 | except Exception: |
| LOW | tests/dragonfly/snapshot_test.py | 821 | except Exception: |
| MEDIUM | tests/dragonfly/snapshot_test.py | 287 | def save(): |
| MEDIUM | tests/dragonfly/snapshot_test.py | 302 | def save_operation(operation_id): |
| LOW | …fly/valkey_search/valkey_search_test_case_dragonfly.py | 91 | except Exception as e: |
| LOW | …fly/valkey_search/valkey_search_test_case_dragonfly.py | 107 | except Exception as e: |
| LOW | tests/dragonfly/valkey_search/util.py | 30 | except Exception: |
| LOW | tests/dragonfly/valkey_search/util.py | 55 | except Exception: |
| LOW | tests/dragonfly/valkey_search/util.py | 80 | except Exception: |
| LOW | tests/fakeredis/test/conftest.py | 15 | except Exception: |
| LOW | tests/fakeredis/test/test_hypothesis/base.py | 259 | except Exception as e: |
| LOW | fuzz/replay_crash.py | 36 | except Exception: |
| LOW | fuzz/replay_crash.py | 41 | except Exception: |
| LOW | fuzz/generate_targeted_seeds.py | 272 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/cache_testing.py | 3 | |
| LOW | tools/plot_memtier_latency.py | 32 | |
| LOW | tools/plot_memtier_latency.py | 35 | |
| LOW | tools/defrag_mem_test.py | 4 | |
| LOW | tools/defrag_mem_test.py | 5 | |
| LOW | tools/release_notes_generator.py | 30 | |
| LOW | tools/eviction/fill_db.py | 43 | |
| LOW | tests/dragonfly/cluster_test.py | 14 | |
| LOW | tests/dragonfly/seeder_test.py | 7 | |
| LOW | tests/dragonfly/seeder_test.py | 8 | |
| LOW | tests/dragonfly/server_family_test.py | 11 | |
| LOW | tests/dragonfly/acl_family_test.py | 6 | |
| LOW | tests/dragonfly/sentinel_test.py | 8 | |
| LOW | tests/dragonfly/sentinel_test.py | 9 | |
| LOW | tests/dragonfly/connection_test.py | 5 | |
| LOW | tests/dragonfly/replication_test.py | 19 | |
| LOW | tests/dragonfly/shutdown_test.py | 5 | |
| LOW | tests/dragonfly/search_test.py | 20 | |
| LOW | tests/dragonfly/set_test.py | 2 | |
| LOW | tests/dragonfly/set_test.py | 3 | |
| LOW | tests/dragonfly/set_test.py | 4 | |
| LOW | tests/dragonfly/json_test.py | 4 | |
| LOW | tests/dragonfly/redis_replication_test.py | 1 | |
| LOW | tests/dragonfly/redis_replication_test.py | 5 | |
| LOW | tests/dragonfly/redis_replication_test.py | 6 | |
| LOW | tests/dragonfly/config_test.py | 4 | |
| LOW | tests/dragonfly/config_test.py | 5 | |
| LOW | tests/dragonfly/cluster_mgr_test.py | 5 | |
| LOW | tests/dragonfly/tls_conf_test.py | 3 | |
| LOW | tests/integration/async.py | 14 | |
| LOW | tests/fakeredis/test/test_transactions.py | 1 | |
| LOW | tests/fakeredis/test/test_json/test_json.py | 5 | |
| LOW | tests/fakeredis/test/test_json/test_json_commands.py | 3 | |
| LOW | tests/fakeredis/test/test_mixins/test_set_commands.py | 1 | |
| LOW | …sts/fakeredis/test/test_mixins/test_string_commands.py | 1 | |
| LOW | …/fakeredis/test/test_mixins/test_sortedset_commands.py | 1 | |
| LOW | tests/fakeredis/test/test_mixins/test_scripting.py | 1 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 12 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 13 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 14 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 15 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 16 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 17 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 18 | |
| LOW | tests/fakeredis/test/test_hypothesis/__init__.py | 19 | |
| LOW | fuzz/resp_mutator.py | 25 | |
| LOW | src/core/generate_bin_sizes.py | 4 | |
| LOW | src/core/generate_bin_sizes.py | 5 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/dragonfly/cluster_test.py | 26 | # Create a generator object |
| MEDIUM | tests/dragonfly/connection_test.py | 547 | # Create a publisher that sends constantly messages to the channel |
| MEDIUM | tests/dragonfly/replication_test.py | 2135 | # Create a new aux index on master |
| MEDIUM | tests/dragonfly/replication_test.py | 2746 | # Create an empty hashmap |
| MEDIUM | tests/dragonfly/replication_test.py | 2801 | # Create an empty hashmap |
| MEDIUM | tests/dragonfly/replication_test.py | 2850 | # Create a search index with HNSW vector field on the new master |
| MEDIUM | tests/dragonfly/search_test.py | 846 | # Create an index with all field types on master |
| MEDIUM | tests/dragonfly/memory_test.py | 43 | # Create a Dragonfly and fill it up with `type` until it reaches `min_rss`, then make sure that |
| MEDIUM | …fly/valkey_search/valkey_search_test_case_dragonfly.py | 27 | """This class represents a Dragonfly instance as a valkey server node""" |
| MEDIUM | tests/dragonfly/valkey_search/__init__.py | 31 | # Create a mock module for valkey_search_test_case |
| MEDIUM | .github/workflows/docker-dev-release.yml | 134 | # Create a temporary container and copy the binary |
| MEDIUM | .github/workflows/docker-dev-release.yml | 139 | # Create a tar archive |
| MEDIUM | .github/workflows/ci.yml | 141 | # Create a rule that automatically prints stacktrace upon segfault |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/parse_allocator_tracking_logs.py | 13 | |
| LOW | tools/defrag_mem_test.py | 76 | |
| LOW | tools/release_notes_generator.py | 674 | |
| LOW | tools/cluster_mgr.py | 111 | |
| LOW | tools/cache_logs_player.py | 22 | |
| LOW | tools/pubsub/stress.py | 78 | |
| LOW | tools/pubsub/stress.py | 248 | |
| LOW | tools/pubsub/stress.py | 105 | |
| LOW | tools/pubsub/stress.py | 108 | |
| LOW | tools/pubsub/celery-test.py | 97 | |
| LOW | tools/pubsub/celery-test.py | 190 | |
| LOW | tools/pubsub/celery-test.py | 252 | |
| LOW | tests/dragonfly/cluster_test.py | 1594 | |
| LOW | tests/dragonfly/cluster_test.py | 1676 | |
| LOW | tests/dragonfly/instance.py | 64 | |
| LOW | tests/dragonfly/conftest.py | 70 | |
| LOW | tests/dragonfly/connection_test.py | 257 | |
| LOW | tests/dragonfly/connection_test.py | 2276 | |
| LOW | tests/dragonfly/connection_test.py | 63 | |
| LOW | tests/dragonfly/connection_test.py | 2298 | |
| LOW | tests/dragonfly/utility.py | 270 | |
| LOW | tests/dragonfly/utility.py | 710 | |
| LOW | tests/dragonfly/utility.py | 982 | |
| LOW | tests/dragonfly/replication_test.py | 38 | |
| LOW | tests/dragonfly/seeder/__init__.py | 407 | |
| LOW | tests/dragonfly/seeder/__init__.py | 465 | |
| LOW | tests/fakeredis/test/test_hypothesis/base.py | 263 | |
| LOW | fuzz/resp_mutator.py | 324 | |
| LOW | fuzz/memcache_mutator.py | 83 | |
| LOW | fuzz/memcache_mutator.py | 176 | |
| LOW | fuzz/memcache_mutator.py | 236 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/plot_memtier_latency.py | 533 | # Check if input file exists |
| LOW | tools/balls_bins.py | 26 | # Check if any bin has K or more balls |
| LOW | tools/docker/healthcheck.sh | 10 | # Set trap to ensure cleanup runs on exit, regardless of how the script exits |
| LOW | tests/dragonfly/replication_test.py | 3796 | # Check if replica data is consistent |
| LOW | …fly/valkey_search/valkey_search_test_case_dragonfly.py | 102 | # Check if replicas are connected |
| LOW | tests/dragonfly/valkey_search/conftest.py | 9 | # Check if integration directory exists |
| LOW | tests/dragonfly/valkey_search/__init__.py | 13 | # Check if integration directory exists before attempting import |
| LOW | …ts/dragonfly/valkey_search/sync-valkey-search-tests.sh | 40 | # Check if the file doesn't already have 'from __future__ import annotations' |
| LOW | .github/workflows/docker-dev-release.yml | 124 | # Check if version starts with a release version (v*.*.*) |
| LOW | fuzz/memcache_mutator.py | 191 | # Check if this is a store command that has a data block |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/json_benchmark.py | 30 | r.execute_command('JSON.SET', key, '.', '{"a":123456, "b": "hello", "nested": {"abc": "ffffff", "bfb": null}}') |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/generate-tls-files.sh | 6 | # Example usage: |
| LOW | fuzz/triage_crashes.sh | 5 | # Usage: |
| LOW | src/common/heap_size.h | 10 | // Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/redis/crc64.c | 139 | char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " |
| LOW | src/redis/crc64.c | 139 | char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/dragonfly/replication_test.py | 3140 | # Step 1: Populate master with 100 streams, each containing 200 entries |
| LOW | tests/dragonfly/replication_test.py | 3149 | # Step 2: Trim each stream to a random size between 70 and 200 |
| LOW | tests/dragonfly/replication_test.py | 3163 | # Step 3: Trim all streams to 0 |