NoSQL data store using the Seastar framework, compatible with Apache Cassandra and Amazon DynamoDB
5752 matches across 18 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | configure.py | 295 | def check_for_minimal_compiler_version(cxx): |
| LOW | configure.py | 396 | def resolve_compilers_for_compiler_cache(args, compiler_cache): |
| LOW | configure.py | 1867 | def get_clang_inline_threshold(): |
| LOW | configure.py | 1997 | def prepare_advanced_optimizations(*, modes, build_modes, args): |
| LOW | configure.py | 3128 | def generate_compdb_for_cmake_build(source_dir, build_dir): |
| LOW | gen_segmented_compress_params.py | 64 | def best_nominal_data_size_for_bucket_size(chunk_size, bucket_size, n_values): |
| LOW | scylla-gdb.py | 42 | def get_template_arg_with_prefix(gdb_type, prefix): |
| LOW | scylla-gdb.py | 529 | def external_memory_footprint(self): |
| LOW | scylla-gdb.py | 537 | def deref_libcpp_hashtable_nodes_data_member(ptr): |
| LOW | scylla-gdb.py | 2009 | def find_single_sstable_readers(): |
| LOW | scylla-gdb.py | 2140 | def has_enable_lw_shared_from_this(type): |
| LOW | scylla-gdb.py | 2341 | def summarize_inheriting_execution_stage(ies): |
| LOW | scylla-gdb.py | 2360 | def summarize_table_phased_barrier_users(db, barrier_name): |
| LOW | scylla-gdb.py | 2371 | def summarize_storage_proxy_coordinator_stats(sp): |
| LOW | scylla-gdb.py | 2805 | def get_seastar_memory_start_and_size(): |
| LOW | scylla-gdb.py | 2914 | def is_seastar_allocator_used(): |
| LOW | scylla-gdb.py | 3490 | def seastar_threads_on_current_shard(): |
| LOW | scylla-gdb.py | 3662 | def external_memory_footprint(self): |
| LOW | scylla-gdb.py | 3680 | def external_memory_footprint(self): |
| LOW | scylla-gdb.py | 3719 | def external_memory_footprint(self): |
| LOW | scylla-gdb.py | 4538 | def get_gms_generation_or_version(i): |
| LOW | scylla-gdb.py | 4608 | def find_sstables_attached_to_tables(): |
| LOW | scylla-gdb.py | 4757 | def dump_compaction_group_memtables(compaction_group): |
| LOW | scylla-gdb.py | 4842 | def _traverse_object_graph_breadth_first(address, max_depth, max_vertices, timeout_seconds, value_range_override): |
| LOW | scylla-gdb.py | 4895 | def _do_generate_object_graph(address, output_file, max_depth, max_vertices, timeout_seconds, value_range_override): |
| LOW | scylla-gdb.py | 5525 | def get_cql_type_deserializer(self, type_name): |
| LOW | scylla-gdb.py | 5555 | def parse_clustering_key_bytes(self, b): |
| LOW | scylla-gdb.py | 5559 | def parse_partition_key_bytes(self, b): |
| LOW | scylla-gdb.py | 5999 | def dump_reads_from_semaphore(semaphore): |
| LOW | scylla-gdb.py | 6447 | def _last_token_of_compaction_group(self, most_significant_bits, group): |
| LOW | idl-compiler.py | 440 | def to_string_send_fn_signature(self): |
| LOW | idl-compiler.py | 449 | def to_string_handle_ret_value(self): |
| LOW | idl-compiler.py | 531 | def handler_function_return_values(self): |
| LOW | idl-compiler.py | 545 | def send_function_return_type(self): |
| LOW | idl-compiler.py | 560 | def handler_function_parameters_str(self): |
| LOW | idl-compiler.py | 570 | def send_function_signature_params_list(self, include_placeholder_names, dst_type): |
| LOW | idl-compiler.py | 583 | def send_message_argument_list(self): |
| LOW | idl-compiler.py | 629 | def template_type_parse_action(tokens): |
| LOW | idl-compiler.py | 663 | def class_member_parse_action(tokens): |
| LOW | idl-compiler.py | 686 | def rpc_verb_param_parse_action(tokens): |
| LOW | idl-compiler.py | 692 | def rpc_verb_return_val_parse_action(tokens): |
| LOW | idl-compiler.py | 1044 | def add_param_writer_basic_type(name, base_state, typ, var_type="", var_index=None, root_node=False): |
| LOW | idl-compiler.py | 891 | def list_local_writable_types(t): |
| LOW | idl-compiler.py | 1355 | def register_writable_local_type(cls): |
| LOW | idl-compiler.py | 1621 | def generate_rpc_verbs_declarations(hout, module_name): |
| LOW | idl-compiler.py | 1637 | def generate_rpc_verbs_definitions(cout, module_name): |
| LOW | idl-compiler.py | 1693 | def setup_additional_metadata(tree, ns_context = [], parent_template_params=[]): |
| LOW | test/scylla_gdb/test_sstable_commands.py | 39 | def test_sstable_summary_output(gdb_cmd): |
| LOW | test/scylla_gdb/test_basic_commands.py | 74 | def test_nonexistent_scylla_command(gdb_cmd): |
| LOW | test/scylla_gdb/test_schema_commands.py | 40 | def test_generate_object_graph(gdb_cmd, request): |
| LOW | test/cluster/test_table_desc_read_barrier.py | 19 | async def test_table_desc_read_barrier(manager: ManagerClient) -> None: |
| LOW | …cluster/test_write_query_during_cql_server_shutdown.py | 22 | async def test_write_query_during_cql_server_shutdown(request: pytest.FixtureRequest, manager: ManagerClient) -> None: |
| LOW | test/cluster/test_replica_exceptions.py | 85 | async def test_replica_do_apply_rate_limit_no_cpp_exceptions(manager: ManagerClient): |
| LOW | test/cluster/test_replica_exceptions.py | 107 | async def test_replica_query_rate_limit_no_cpp_exceptions(manager: ManagerClient): |
| LOW | test/cluster/test_replica_exceptions.py | 129 | async def test_replica_writes_apply_counter_update_timeout(manager: ManagerClient): |
| LOW | test/cluster/test_replica_exceptions.py | 152 | async def test_replica_writes_do_apply_counter_update_timeout(manager: ManagerClient): |
| LOW | test/cluster/test_replica_exceptions.py | 177 | async def test_replica_database_apply_timeout(manager: ManagerClient): |
| LOW | test/cluster/test_deprecating_cluster_features.py | 20 | async def test_feature_deprecation_works(manager: ManagerClient) -> None: |
| LOW | test/cluster/test_deprecating_cluster_features.py | 52 | async def test_features_suppress_works(manager: ManagerClient, build_mode) -> None: |
| LOW | test/cluster/test_counter_write_timeout_metric.py | 27 | async def test_counter_write_timeout_updates_coordinator_metric(manager: ManagerClient): |
| 3288 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | configure.py | 2461 | command = {ragel_exec} -G2 -o $out $in && sed -i -e '1h;2,$$H;$$!d;g' -re 's/static const char _nfa[^;]*;//g |
| HIGH | configure.py | 2484 | command = rm -rf $out && mkdir -p $out && cp $pkgs $out/ |
| HIGH | configure.py | 3028 | command = ./configure.py --out={buildfile_final_name}.new --out-final-name={buildfile_final_name} $configure_a |
| HIGH | test/cluster/util.py | 124 | Polls system.topology until the transition_state column is null, |
| HIGH | test/cluster/test_ensure_committed_by_group0.py | 34 | # Simulate pre-group0 table (null) and recovery-mode table (false) |
| HIGH | test/cluster/test_incremental_repair.py | 980 | # is false and being_repaired is null, so S1' lands in the UNREPAIRED view where |
| HIGH | test/alternator/test_streams.py | 481 | events.append(['INSERT',{'c':c + '0','p':p},null,{'c':c + '0','a':0,'p':p}]) |
| HIGH | test/alternator/test_streams.py | 485 | events.append(['INSERT',{'c':c + '2','p':p},null,{'c':c + '2','a':2,'p':p}]) |
| HIGH | test/alternator/test_streams.py | 509 | events.append(['INSERT',{'c':c,'p':p},null,{'c':c,'e':166,'g':166,'p':p}]) |
| HIGH | test/alternator/test_streams.py | 540 | events.append(['INSERT',{'p':p},null,{'e':166,'g':166,'p':p}]) |
| HIGH | test/alternator/test_item.py | 50 | # number, boolean, bytes, null, list, map, string set, number set, |
| HIGH | test/alternator/test_manual_requests.py | 491 | '{"RequestItems": null}', |
| HIGH | test/alternator/test_manual_requests.py | 494 | '{"RequestItems": {"__TABLE__": null}}', |
| HIGH | test/alternator/test_manual_requests.py | 495 | '{"RequestItems": {"__TABLE__": [null]}}', |
| HIGH | test/alternator/test_manual_requests.py | 497 | '{"RequestItems": {"__TABLE__": [{"PutRequest": null}]}}', |
| HIGH | test/alternator/test_manual_requests.py | 499 | '{"RequestItems": {"__TABLE__": [{"PutRequest": {"Item": null}}]}}', |
| HIGH | test/alternator/test_manual_requests.py | 501 | '{"RequestItems": {"__TABLE__": [{"DeleteRequest": null}]}}', |
| HIGH | test/alternator/test_manual_requests.py | 503 | '{"RequestItems": {"__TABLE__": [{"DeleteRequest": {"Key": null}}]}}', |
| HIGH | test/cqlpy/test_static.py | 83 | # column. Getting back just the static row, with r=null, would be wrong |
| HIGH | test/cqlpy/test_cdc.py | 73 | cql.execute(f"insert into {table} (pk, v) values (1, null)") |
| HIGH | test/cqlpy/test_type_decimal.py | 322 | # Java's BigDecimal.toString() specification. |
| HIGH | test/cqlpy/test_type_decimal.py | 326 | # for DecimalType delegates to BigDecimal.toString(). This test can be |
| HIGH | test/cqlpy/test_type_decimal.py | 340 | # (input, expected toJson output per Java BigDecimal.toString()) |
| HIGH | test/cqlpy/test_uda.py | 138 | state_body = "(acc int, val int) CALLED ON NULL INPUT RETURNS int LANGUAGE lua AS 'if acc == null then return 999 el |
| HIGH | test/cqlpy/test_null.py | 257 | # Cassandra considers the null subscript 'm[null]' to be an invalid request. |
| HIGH | test/cqlpy/test_null.py | 258 | # In Scylla we decided to it differently (we think better): m[null] is simply |
| HIGH | test/cqlpy/test_null.py | 259 | # a null, so the filter 'WHERE m[null] = 3' is not an error - it just doesn't |
| HIGH | test/cqlpy/test_null.py | 261 | # and null < 2 are both defined as returning null), and will also allow us |
| HIGH | test/cqlpy/test_null.py | 72 | cql.execute(f"INSERT INTO {table1} (p,c) VALUES ('{s}', null) IF NOT EXISTS") |
| HIGH | test/cqlpy/test_null.py | 74 | cql.execute(f"INSERT INTO {table1} (p,c) VALUES (null, '{s}') IF NOT EXISTS") |
| HIGH | test/cqlpy/test_null.py | 86 | cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES ('{s}', null);APPLY BATCH;") |
| HIGH | test/cqlpy/test_null.py | 88 | cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES ('{s}', null) IF NOT EXISTS;APPLY BATCH;") |
| HIGH | test/cqlpy/test_null.py | 90 | cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES (null, '{s}');APPLY BATCH;") |
| HIGH | test/cqlpy/test_null.py | 92 | cql.execute(f"BEGIN BATCH INSERT INTO {table1} (p,c) VALUES (null, '{s}') IF NOT EXISTS;APPLY BATCH;") |
| HIGH | test/cqlpy/test_null.py | 119 | cql.execute(cql.prepare(f"INSERT INTO {table2} (id,b,c) VALUES ('{key}',1,null)")) |
| HIGH | test/cqlpy/test_null.py | 122 | cql.execute(cql.prepare(f"INSERT INTO {table2} (id,a,c) VALUES ('{key}',1,null)")) |
| HIGH | test/cqlpy/test_null.py | 55 | cql.execute(f"INSERT INTO {table1} (p,c) VALUES ('{s}', null)") |
| HIGH | test/cqlpy/test_null.py | 57 | cql.execute(f"INSERT INTO {table1} (p,c) VALUES (null, '{s}')") |
| HIGH | test/cqlpy/test_null.py | 275 | assert list(cql.execute(f"SELECT p FROM {table1} WHERE m[null] = 3 ALLOW FILTERING")) == [] |
| HIGH | test/cqlpy/test_udf.py | 104 | lang_ret = "LANGUAGE java AS 'return null;'" |
| HIGH | test/cqlpy/test_materialized_view.py | 198 | # key column unset (aka null) do not get copied into the view. |
| HIGH | test/cqlpy/test_materialized_view.py | 319 | # "restriction '(xyz) IS NOT { null }' is only supported in materialized |
| HIGH | test/cqlpy/test_materialized_view.py | 547 | # be null, so it is pointless to require the "IS NOT NULL". However, |
| HIGH | test/cqlpy/test_materialized_view.py | 204 | cql.execute(f"INSERT INTO {table} (p,v) VALUES (17, null)") |
| HIGH | test/cqlpy/test_vector_similarity.py | 127 | result = cql.execute(f"SELECT pk, similarity_{similarity_function}(null, [1.1, 1.2, 20.25]) FROM {table1}") |
| HIGH | test/cqlpy/test_vector_similarity.py | 130 | result = cql.execute(f"SELECT pk, similarity_{similarity_function}(v1, null) FROM {table1}") |
| HIGH | test/cqlpy/test_vector_similarity.py | 134 | cql.execute(f"SELECT pk, similarity_{similarity_function}(null, null) FROM {table1}") |
| HIGH | test/cqlpy/test_vector_similarity.py | 99 | cql.execute(f"SELECT pk, similarity_{similarity_function}(v1, [1.1, null, 20.25]) FROM {table1}") |
| HIGH | test/cqlpy/test_vector_similarity.py | 318 | result = cql.execute(f"SELECT pk, similarity_{similarity_function}(v, null) FROM {table}") |
| HIGH | test/cqlpy/test_json.py | 283 | cql.execute(f"INSERT INTO {table1} (p, v) VALUES ({p}, fromJson(null))") |
| HIGH | test/cqlpy/test_json.py | 402 | cql.execute(stmt, [p, '["a", null]']) |
| HIGH | test/cqlpy/test_json.py | 404 | cql.execute(stmt, [p, '[null, 2]']) |
| HIGH | test/cqlpy/test_json.py | 411 | cql.execute(stmt, [p, '["a", null]']) |
| HIGH | test/cqlpy/test_json.py | 562 | assert list(cql.execute(f"SELECT JSON tup from {table1} where p = {p}")) == [('{"tup": ["hello", null]}',)] |
| HIGH | test/cqlpy/test_json.py | 566 | assert list(cql.execute(f"SELECT JSON t1 from {table1} where p = {p}")) == [('{"t1": {"t": "hello", "b": null}}',)] |
| HIGH | test/cqlpy/test_json.py | 528 | 'ttl(v)': '{"ttl(v)": null}', |
| HIGH | test/cqlpy/test_json.py | 589 | 'ttl(v)': '{"ttl(v)": null}', |
| HIGH | test/cqlpy/test_json.py | 590 | 'ttl(v) as hi': '{"hi": null}', |
| HIGH | test/cqlpy/test_sstable_compression.py | 64 | # chunk_length_in_kb cannot be zero, negative, null, or non-integer. |
| HIGH | test/cqlpy/test_tools.py | 1999 | # and leaves it unset (null) for others. |
| 370 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CMakeLists.txt | 61 | # Since gcc 13, libgcc doesn't need the exception workaround |
| LOW | configure.py | 301 | |
| LOW | configure.py | 1941 | |
| LOW | configure.py | 2041 | # We are checking whether the profile archive is compressed, |
| LOW | configure.py | 2061 | command = xz --uncompress --stdout $in > $out |
| LOW | configure.py | 2141 | seastar_cxx_ld_flags = seastar_cxx_ld_flags.replace(flag, '') |
| LOW | install.sh | 41 | # A pathname has three components: "$root/$prefix/$rest". |
| LOW | coverage_excludes.txt | 1 | # This file contains regx patterns that should be |
| LOW | install-dependencies.sh | 1 | #!/bin/bash -e |
| LOW | test/CMakeLists.txt | 1 | find_package(jsoncpp REQUIRED) |
| LOW | test/pytest.ini | 41 | skip_not_implemented(reason): Skip because the feature is not yet implemented. |
| LOW | test/cluster/conftest.py | 141 | ssl_context=ssl_context, |
| LOW | test/cluster/test_ttl_row.py | 1 | # Copyright (C) 2025-present ScyllaDB |
| LOW | test/cluster/test_ttl_row.py | 121 | # so the ALTER TABLE work doesn't pollute the ms_statement |
| LOW | test/cluster/test_topology_smp.py | 21 | |
| LOW | test/cluster/test_table_drop.py | 101 | # Drop the table while streaming is paused. With the stream_in_progress |
| LOW | test/cluster/test_strong_consistency.py | 621 | with pytest.raises(InvalidRequest, match=error_msg): |
| LOW | …t_group0_recovers_after_partial_command_application.py | 81 | # Before restarting, enable an error injection which causes the state |
| LOW | test/cluster/test_alternator.py | 1 | # |
| LOW | test/cluster/test_alternator.py | 161 | # happened, and certainly several scans, all taking CPU which we expect |
| LOW | test/cluster/test_alternator.py | 261 | # Run two Scylla nodes telling both their broadcast_rpc_address is 127.0.0.0 |
| LOW | test/cluster/test_alternator.py | 401 | # return just one node - not both. Reproduces #19694 (two nodes used to |
| LOW | test/cluster/test_alternator.py | 881 | if hasattr(self, 'exception'): |
| LOW | test/cluster/test_alternator.py | 901 | # the operations are sent to different nodes - because a single node |
| LOW | test/cluster/test_commitlog.py | 21 | # Check that commitlog provides durability in case of a node reboot. |
| LOW | test/cluster/test_topology_remove_decom.py | 41 | table = await random_tables.add_table(ncolumns=5) |
| LOW | …cluster/test_sstable_compression_dictionaries_basic.py | 421 | select = cql.prepare(f'''SELECT c FROM test."{algo}" WHERE pk = ? BYPASS CACHE;''') |
| LOW | …cluster/test_sstable_compression_dictionaries_basic.py | 441 | # "key": "sstable_compression", |
| LOW | test/cluster/test_bti_index.py | 41 | |
| LOW | test/cluster/test_tablets_lwt.py | 201 | consistency_level=ConsistencyLevel.SERIAL)) |
| LOW | test/cluster/test_tablets_lwt.py | 641 | async def test_error_message_for_timeout_due_to_write_uncertainty(manager: ManagerClient): |
| LOW | test/cluster/test_tablets_lwt.py | 701 | async def test_no_uncertainty_for_reads(manager: ManagerClient): |
| LOW | test/cluster/test_view_building_coordinator.py | 761 | # Purpose of this test is to check if staging sstables managed by `view_building_worker` |
| LOW | test/cluster/test_view_building_coordinator.py | 961 | await unpause_view_building_tasks(manager) |
| LOW | test/cluster/test_fencing.py | 301 | # Node2 still sees node4 in a bootstrapping state because its group0 is broken. |
| LOW | test/cluster/test_fencing.py | 321 | # while the second node is starting up, but without DC and rack information. |
| LOW | test/cluster/test_incremental_repair.py | 841 | await drop_future |
| LOW | test/cluster/test_incremental_repair.py | 941 | # after mark_sstable_as_repaired() has completed on all replicas for that tablet. |
| LOW | test/cluster/test_incremental_repair.py | 961 | |
| LOW | test/cluster/test_incremental_repair.py | 1141 | # a tombstone T becomes GC-eligible, any data D that T shadows has already |
| LOW | test/cluster/test_incremental_repair.py | 1601 | # Base repair returns without waiting for staging to complete. |
| LOW | test/cluster/test_change_ip.py | 101 | return None |
| LOW | test/cluster/test_raft_no_quorum.py | 41 | # if the majority of the cluster is not available. |
| LOW | test/cluster/test_vector_store.py | 1 | # |
| LOW | test/cluster/test_unfinished_writes_during_shutdown.py | 121 | # Wait for stop_transport to complete. At this point the local |
| LOW | test/cluster/tasks/__init__.py | 1 | # |
| LOW | test/cluster/object_store/test_backup.py | 281 | cf_dir = os.listdir(f'{workdir}/data/{ks}')[0] |
| LOW | test/cluster/auth_cluster/conftest.py | 1 | # |
| LOW | test/cluster/auth_cluster/__init__.py | 1 | # |
| LOW | test/cluster/storage/__init__.py | 1 | # |
| LOW | test/cluster/storage/test_out_of_space_prevention.py | 721 | def list_sstable_files(): |
| LOW | test/cluster/dtest/schema_management_test.py | 401 | rows = session.execute(SimpleStatement("SELECT * FROM cf", consistency_level=ConsistencyLevel.ALL)) |
| LOW | test/cluster/dtest/alternator/__init__.py | 1 | # |
| LOW | test/cluster/dtest/alternator/utils/__init__.py | 1 | # |
| LOW | test/cluster/dtest/tools/__init__.py | 1 | # |
| LOW | test/cluster/dtest/ccmlib/__init__.py | 1 | # |
| LOW | test/cluster/lwt/__init__.py | 1 | # |
| LOW | test/cluster/random_failures/cluster_events.py | 101 | # |
| LOW | test/cluster/mv/test_mv_delete_partitions.py | 41 | tasks = [asyncio.create_task(do_inserts(i)) for i in range(concurrency)] |
| LOW | test/cluster/mv/test_mv_delete_partitions.py | 81 | # Test deleting a large partition when there is a view with the same partition |
| 691 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test.py | 10 | |
| LOW | test/scylla_gdb/gdb_utils.py | 15 | |
| LOW | …cluster/test_write_query_during_cql_server_shutdown.py | 11 | |
| LOW | …cluster/test_write_query_during_cql_server_shutdown.py | 12 | |
| LOW | …cluster/test_write_query_during_cql_server_shutdown.py | 17 | |
| LOW | …cluster/test_write_query_during_cql_server_shutdown.py | 17 | |
| LOW | test/cluster/test_deprecating_cluster_features.py | 6 | |
| LOW | test/cluster/test_deprecating_cluster_features.py | 11 | |
| LOW | test/cluster/test_restart_cluster.py | 13 | |
| LOW | test/cluster/test_change_replication_factor_1_to_0.py | 12 | |
| LOW | test/cluster/test_change_replication_factor_1_to_0.py | 16 | |
| LOW | test/cluster/test_counter_write_timeout_metric.py | 14 | |
| LOW | test/cluster/conftest.py | 9 | |
| LOW | test/cluster/conftest.py | 14 | |
| LOW | test/cluster/conftest.py | 16 | |
| LOW | test/cluster/test_zero_token_nodes_no_replication.py | 6 | |
| LOW | test/cluster/test_zero_token_nodes_no_replication.py | 14 | |
| LOW | test/cluster/test_uninitialized_conns_semaphore.py | 9 | |
| LOW | test/cluster/test_rpc_compression.py | 11 | |
| LOW | test/cluster/test_rpc_compression.py | 15 | |
| LOW | test/cluster/test_rpc_compression.py | 21 | |
| LOW | test/cluster/test_rpc_compression.py | 22 | |
| LOW | test/cluster/test_tools_perf.py | 5 | |
| LOW | test/cluster/test_tools_perf.py | 7 | |
| LOW | …cluster/test_gossiper_empty_self_id_on_shadow_round.py | 8 | |
| LOW | …cluster/test_gossiper_empty_self_id_on_shadow_round.py | 13 | |
| LOW | …t/cluster/test_start_bootstrapped_with_invalid_seed.py | 7 | |
| LOW | test/cluster/test_topology_smp.py | 15 | |
| LOW | …luster/test_remove_rpc_client_with_pending_requests.py | 10 | |
| LOW | test/cluster/test_tablets_intranode.py | 6 | |
| LOW | test/cluster/test_tablets_intranode.py | 6 | |
| LOW | test/cluster/test_tablets_intranode.py | 10 | |
| LOW | test/cluster/test_tablets_intranode.py | 18 | |
| LOW | test/cluster/test_tablets_intranode.py | 19 | |
| LOW | test/cluster/test_guardrails.py | 9 | |
| LOW | test/cluster/test_guardrails.py | 16 | |
| LOW | test/cluster/test_raft_cluster_features.py | 15 | |
| LOW | test/cluster/test_boot_nodes.py | 7 | |
| LOW | test/cluster/test_remove_alive_node.py | 6 | |
| LOW | test/cluster/test_remove_alive_node.py | 8 | |
| LOW | test/cluster/test_remove_alive_node.py | 10 | |
| LOW | test/cluster/test_replace_with_same_ip_twice.py | 9 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 8 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 8 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 12 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 15 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 16 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 17 | |
| LOW | test/cluster/test_truncate_concurrent_writes.py | 18 | |
| LOW | test/cluster/test_multidc.py | 8 | |
| LOW | test/cluster/test_raft_voters.py | 9 | |
| LOW | test/cluster/test_raft_snapshot_request.py | 8 | |
| LOW | …ter/test_sstable_compression_dictionaries_autotrain.py | 8 | |
| LOW | …ter/test_sstable_compression_dictionaries_autotrain.py | 12 | |
| LOW | test/cluster/test_node_isolation.py | 9 | |
| LOW | test/cluster/test_node_isolation.py | 9 | |
| LOW | test/cluster/test_node_isolation.py | 9 | |
| LOW | test/cluster/test_node_isolation.py | 10 | |
| LOW | test/cluster/test_node_isolation.py | 10 | |
| LOW | test/cluster/test_node_isolation.py | 11 | |
| 305 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | install-dependencies.sh | 3 | # This file is open source software, licensed to you under the terms |
| MEDIUM | install-dependencies.sh | 273 | # Create the antlr3 wrapper script |
| MEDIUM | test/cluster/test_ttl_row.py | 87 | # Create a test table with attribute "e" that will later function |
| MEDIUM | test/cluster/test_ttl_row.py | 187 | # Create a test table per-row TTL on attribute "e" |
| MEDIUM | test/cluster/test_ttl_row.py | 317 | # Create a test table, don't enable TTL yet to give us time to check |
| MEDIUM | test/cluster/test_truncate_with_tablets.py | 34 | # Create a keyspace with tablets and initial_tablets == 2, then insert data |
| MEDIUM | test/cluster/test_truncate_with_tablets.py | 88 | # Create a keyspace with tablets and initial_tablets == 2, then insert data |
| MEDIUM | test/cluster/test_truncate_with_tablets.py | 136 | # Create a keyspace with tablets and initial_tablets == 2, then insert data |
| MEDIUM | test/cluster/test_truncate_with_tablets.py | 182 | # Create a keyspace with tablets and initial_tablets == 2, then insert data |
| MEDIUM | test/cluster/test_truncate_with_tablets.py | 227 | # Create a keyspace with tablets and initial_tablets == 2, then insert data |
| MEDIUM | test/cluster/test_truncate_with_tablets.py | 309 | # Create a keyspace with tablets and initial_tablets == 2, then insert data |
| MEDIUM | test/cluster/test_view_build_status.py | 58 | # Create a materialized view and check that the view's build status |
| MEDIUM | test/cluster/test_alternator.py | 618 | # Create a new role "user2" and make a new connection "alternator2" with it: |
| MEDIUM | test/cluster/test_alternator.py | 792 | # Create a table with tablets and GSI or LSI - should fail because the keyspace is not RF-rack-valid |
| MEDIUM | test/cluster/test_alternator.py | 801 | # Create a table with tablets and no indexes, then add a GSI - the update should fail |
| MEDIUM | test/cluster/test_alternator.py | 1176 | # Create a new table, write 10 different items to it and then read them |
| MEDIUM | test/cluster/test_vnodes_to_tablets_migration.py | 182 | # Create the table with minor compaction disabled to ensure that Scylla |
| MEDIUM | test/cluster/test_truncate_with_drop.py | 21 | # Create a keyspace |
| MEDIUM | test/cluster/test_truncate_with_drop.py | 52 | # Create a keyspace |
| MEDIUM | test/cluster/test_sstable_compression_config.py | 169 | # Create a table with GSI, LSI and Streams |
| MEDIUM | test/cluster/test_audit.py | 1727 | # Create a session with the ADMIN category disabled to validate that |
| MEDIUM | test/cluster/test_logstor.py | 194 | # Create a large value of approximately 100KB, close to segment size |
| MEDIUM | test/cluster/test_tablets_merge.py | 620 | # Create a table which will go through 3 merge cycles. |
| MEDIUM | test/cluster/test_concurrent_schema.py | 42 | # Create a bunch of futures to run in parallel (in aws list) |
| MEDIUM | test/cluster/test_proxy_protocol.py | 199 | # Create a socket and connect |
| MEDIUM | test/cluster/test_proxy_protocol.py | 631 | # Create a connection that stays open |
| MEDIUM | test/cluster/test_vector_store.py | 36 | # Creating a vector store index should succeed. |
| MEDIUM | test/cluster/test_tablets.py | 1929 | # Create the table, insert data and flush |
| MEDIUM | test/cluster/test_tablets.py | 2320 | # Create a table, which should prevent the coordinator from sleeping |
| MEDIUM | test/cluster/test_cdc_with_tablets.py | 104 | # Create a table with CDC, then disable CDC and drop the CDC log table, and create CDC again. |
| MEDIUM | test/cluster/test_cdc_with_tablets.py | 366 | # Create a CDC table with short TTL, then split the tablets to create a new stream set, |
| MEDIUM | test/cluster/auth_cluster/test_startup_response.py | 32 | # Define a custom connection class that hangs on startup response |
| MEDIUM | test/cluster/auth_cluster/test_raft_service_levels.py | 334 | # Create a service level and attach it to the default cassandra user |
| MEDIUM | test/cluster/auth_cluster/test_raft_service_levels.py | 646 | # Create a service level and a user attached to it. |
| MEDIUM | test/cluster/dtest/alternator_tests.py | 426 | # Create the table, access it through the two connections, r1 and r2: |
| MEDIUM | test/cluster/mv/test_mv_with_tablets_restrictions.py | 124 | # Create a keyspace and MV/index/vector with RF=Racks |
| MEDIUM | test/cluster/mv/tablets/test_mv_tablets.py | 139 | # Create a table with an LSI |
| MEDIUM | test/cluster/mv/tablets/test_mv_tablets.py | 243 | # Create a table with an LSI, using tablets. Use just 1 tablets, |
| MEDIUM | test/alternator/test_streams.py | 1536 | # Create an item |
| MEDIUM | test/alternator/test_scylla.py | 5 | # This file contains tests which check Scylla-specific features that do |
| MEDIUM | test/alternator/conftest.py | 5 | # This file contains "test fixtures", a pytest concept described in |
| MEDIUM | test/alternator/util.py | 113 | # The following function, multiset() converts the list into a multiset |
| MEDIUM | test/alternator/test_condition_expression.py | 1811 | # Create an empty item with key p, but only if no item with p exists yet. |
| MEDIUM | test/alternator/test_condition_expression.py | 1832 | # Create an empty item with key p, but only an item with p exists yet. |
| MEDIUM | test/alternator/test_encoding.py | 38 | # This file is related to issue #19770. |
| MEDIUM | test/alternator/test_expression_caching.py | 16 | # This file contains tests for the Alternator expression caching. |
| MEDIUM | test/alternator/test_compressed_response.py | 351 | # The following method, from the botocore.auth.SigV4Auth, describes how header values are normalized |
| MEDIUM | test/alternator/test_gsi.py | 409 | # Create a new GSI row (x1), see that it appears |
| MEDIUM | test/alternator/test_gsi.py | 458 | # Create a new GSI row (x1), see that it appears |
| MEDIUM | test/alternator/test_authorization.py | 185 | # Create a new list of signed header names with the same capitalization |
| MEDIUM | test/alternator/test_vector.py | 898 | # Create the table without a vector index, and add it later: |
| MEDIUM | test/alternator/test_cql_rbac.py | 61 | # Create a new DynamoDB API resource (connection object) similar to the |
| MEDIUM | test/alternator/test_lsi.py | 832 | # Create an item with the LSI key column 'b' set to b1. |
| MEDIUM | test/alternator/test_lsi.py | 806 | # Create an item with the LSI key column 'b'. |
| MEDIUM | test/alternator/test_lsi.py | 855 | # Create an item with the LSI key column 'b'. |
| MEDIUM | test/alternator/test_lsi.py | 892 | # Create a base table with base_keys and the two LSIs with the |
| MEDIUM | test/pylib/random_tables.py | 6 | """This module provides helper classes to manage CQL tables, perform random schema changes, |
| MEDIUM | test/cqlpy/test_secondary_index.py | 109 | # Creating an index should succeed, even though its default name is taken |
| MEDIUM | test/cqlpy/test_secondary_index.py | 124 | # Creating an index should fail, because it's impossible to create |
| MEDIUM | test/cqlpy/test_secondary_index.py | 316 | # Create an index on v as the new key. The background index-building |
| 33 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | configure.py | 71 | |
| LOW | configure.py | 255 | |
| LOW | configure.py | 1997 | |
| LOW | configure.py | 2418 | |
| LOW | fix_system_distributed_tables.py | 90 | |
| LOW | gen_segmented_compress_params.py | 92 | |
| LOW | scylla-gdb.py | 1405 | |
| LOW | scylla-gdb.py | 1501 | |
| LOW | scylla-gdb.py | 352 | |
| LOW | scylla-gdb.py | 1864 | |
| LOW | scylla-gdb.py | 2927 | |
| LOW | scylla-gdb.py | 3074 | |
| LOW | scylla-gdb.py | 3941 | |
| LOW | scylla-gdb.py | 4661 | |
| LOW | scylla-gdb.py | 4760 | |
| LOW | scylla-gdb.py | 4842 | |
| LOW | scylla-gdb.py | 6534 | |
| LOW | scylla-gdb.py | 6585 | |
| LOW | idl-compiler.py | 1120 | |
| LOW | idl-compiler.py | 1602 | |
| LOW | idl-compiler.py | 1673 | |
| LOW | idl-compiler.py | 1693 | |
| LOW | tools/scyllatop/livedata.py | 55 | |
| LOW | test/cluster/conftest.py | 222 | |
| LOW | test/cluster/test_zero_token_nodes_no_replication.py | 19 | |
| LOW | test/cluster/test_tablets_migration.py | 120 | |
| LOW | test/cluster/test_tablets_migration.py | 187 | |
| LOW | test/cluster/test_tablets_migration.py | 216 | |
| LOW | test/cluster/test_alternator_proxy_protocol.py | 323 | |
| LOW | test/cluster/test_alternator_proxy_protocol.py | 337 | |
| LOW | test/cluster/util.py | 283 | |
| LOW | test/cluster/util.py | 300 | |
| LOW | test/cluster/test_guardrails.py | 66 | |
| LOW | test/cluster/test_tablets2.py | 884 | |
| LOW | test/cluster/test_tablet_repair_scheduler.py | 566 | |
| LOW | test/cluster/test_tablet_repair_scheduler.py | 608 | |
| LOW | test/cluster/test_strong_consistency.py | 304 | |
| LOW | test/cluster/test_alternator.py | 429 | |
| LOW | test/cluster/test_alternator.py | 905 | |
| LOW | test/cluster/test_alternator.py | 971 | |
| LOW | test/cluster/test_alternator.py | 1020 | |
| LOW | test/cluster/test_alternator.py | 1072 | |
| LOW | test/cluster/test_alternator.py | 1084 | |
| LOW | test/cluster/test_audit.py | 670 | |
| LOW | test/cluster/test_audit.py | 1420 | |
| LOW | test/cluster/test_audit.py | 1737 | |
| LOW | …cluster/test_sstable_compression_dictionaries_basic.py | 367 | |
| LOW | …cluster/test_sstable_compression_dictionaries_basic.py | 428 | |
| LOW | test/cluster/test_view_building_coordinator.py | 336 | |
| LOW | test/cluster/test_cdc_with_alter.py | 19 | |
| LOW | test/cluster/test_cdc_with_alter.py | 43 | |
| LOW | test/cluster/test_proxy_protocol.py | 522 | |
| LOW | test/cluster/test_incremental_repair.py | 74 | |
| LOW | test/cluster/test_incremental_repair.py | 287 | |
| LOW | test/cluster/test_incremental_repair.py | 907 | |
| LOW | test/cluster/test_size_based_load_balancing.py | 19 | |
| LOW | test/cluster/test_tablets.py | 147 | |
| LOW | test/cluster/test_encryption.py | 439 | |
| LOW | test/cluster/test_encryption.py | 449 | |
| LOW | test/cluster/object_store/test_backup.py | 502 | |
| 300 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fix_system_distributed_tables.py | 126 | except Exception: |
| LOW | fix_system_distributed_tables.py | 129 | except Exception: |
| LOW | test.py | 216 | except Exception: |
| LOW | test.py | 400 | except Exception as e: |
| MEDIUM | scylla-gdb.py | 820 | def __len__(self): |
| MEDIUM | scylla-gdb.py | 2158 | def _no_esft_type(self): |
| MEDIUM | scylla-gdb.py | 4589 | def __partitions(self, table): |
| LOW | scylla-gdb.py | 1465 | except Exception as e: |
| LOW | scylla-gdb.py | 1511 | except Exception as e: |
| LOW | scylla-gdb.py | 2094 | except Exception: |
| LOW | scylla-gdb.py | 4563 | except Exception as e: |
| LOW | scylla-gdb.py | 4570 | except Exception: |
| LOW | scylla-gdb.py | 6315 | except Exception as e: |
| LOW | scylla-gdb.py | 6546 | except Exception: |
| LOW | tools/scyllatop/collectd.py | 28 | except Exception as e: |
| MEDIUM | tools/scyllatop/collectd.py | 24 | def __init__(self, socketName): |
| LOW | tools/scyllatop/scyllatop.py | 38 | except Exception as inst: |
| LOW | tools/scyllatop/scyllatop.py | 90 | except Exception as inst: |
| MEDIUM | tools/scyllatop/scyllatop.py | 21 | def shell(): |
| LOW | test/cluster/test_replica_exceptions.py | 68 | except Exception: |
| LOW | test/cluster/test_replica_exceptions.py | 73 | except Exception: |
| LOW | test/cluster/test_change_replication_factor_1_to_0.py | 54 | except Exception as e: |
| LOW | test/cluster/test_counter_write_timeout_metric.py | 60 | except Exception: |
| LOW | test/cluster/test_rpc_compression.py | 48 | except Exception as e: |
| LOW | test/cluster/test_tools_perf.py | 25 | except Exception as e: |
| LOW | test/cluster/test_internode_compression.py | 66 | except Exception as e: |
| LOW | test/cluster/test_internode_compression.py | 91 | except Exception as e: |
| LOW | test/cluster/test_ip_mappings.py | 37 | except Exception: |
| LOW | test/cluster/util.py | 313 | except Exception as e: |
| MEDIUM | test/cluster/test_tablet_repair_scheduler.py | 218 | def run_repair(state): |
| LOW | test/cluster/test_tablet_repair_scheduler.py | 222 | except Exception as e: |
| LOW | test/cluster/test_table_drop.py | 127 | except Exception as e: |
| LOW | test/cluster/test_table_drop.py | 138 | except Exception as e: |
| LOW | test/cluster/test_table_drop.py | 170 | except Exception: |
| LOW | test/cluster/test_strong_consistency.py | 1159 | except Exception as e: |
| LOW | test/cluster/test_strong_consistency.py | 1165 | except Exception as e: |
| LOW | test/cluster/test_strong_consistency.py | 835 | except Exception as e: |
| LOW | test/cluster/test_strong_consistency.py | 876 | except Exception as e: |
| LOW | test/cluster/test_strong_consistency.py | 1259 | except Exception as e: |
| LOW | test/cluster/test_cdc_generation_data.py | 68 | except Exception: |
| LOW | test/cluster/test_alternator.py | 426 | except Exception as e: |
| LOW | test/cluster/test_zero_token_nodes_multidc.py | 67 | except Exception: |
| LOW | test/cluster/test_topology_remove_decom.py | 147 | except Exception as e: |
| LOW | test/cluster/test_audit.py | 511 | except Exception as e: |
| LOW | test/cluster/test_audit.py | 1787 | except Exception: |
| LOW | test/cluster/test_rest_api_on_startup.py | 38 | except Exception as ex: |
| LOW | test/cluster/test_batchlog_manager.py | 49 | except Exception as e: |
| LOW | test/cluster/test_batchlog_manager.py | 110 | except Exception as e: |
| LOW | test/cluster/test_batchlog_manager.py | 173 | except Exception as e: |
| LOW | test/cluster/test_batchlog_manager.py | 263 | except Exception as e: |
| LOW | test/cluster/test_batchlog_manager.py | 369 | except Exception as e: |
| LOW | test/cluster/test_cdc_with_alter.py | 55 | except Exception as e: |
| LOW | test/cluster/test_cdc_with_alter.py | 170 | except Exception as e: |
| LOW | test/cluster/test_proxy_protocol.py | 291 | except Exception: |
| MEDIUM | test/cluster/test_incremental_repair.py | 58 | def get_repaired_at_from_sst(sst_file, scylla_path): |
| MEDIUM | test/cluster/test_incremental_repair.py | 74 | def get_keys_from_sst(sst_file, scylla_path): |
| LOW | test/cluster/test_incremental_repair.py | 69 | except Exception as e: |
| LOW | test/cluster/test_incremental_repair.py | 90 | except Exception as e: |
| LOW | test/cluster/test_incremental_repair.py | 755 | except Exception as e: |
| LOW | test/cluster/test_incremental_repair.py | 1301 | except Exception: |
| 133 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/cluster/test_audit.py | 0 | _summary_ returns a dictionary mapping audit mode name to a sorted list of audit log, the logs are sorted by the event t |
| HIGH | test/cluster/test_audit.py | 0 | _summary_ returns a dictionary mapping audit mode name to a sorted list of audit log, the logs are sorted by the event t |
| HIGH | test/cluster/test_audit.py | 0 | _summary_ returns a dictionary mapping audit mode name to a sorted list of audit log, the logs are sorted by the event t |
| HIGH | test/cluster/object_store/test_backup.py | 0 | check that backing up a snapshot for a keyspace works |
| HIGH | test/cluster/object_store/test_backup.py | 0 | check that backing up a snapshot for a keyspace works |
| HIGH | test/cluster/object_store/test_backup.py | 0 | check that backing up a snapshot for a keyspace works |
| HIGH | test/cluster/dtest/dtest_setup.py | 0 | returns a connection after it stops throwing nohostavailables due to not being ready. if the timeout is exceeded, the ex |
| HIGH | test/cluster/dtest/dtest_setup.py | 0 | returns a connection after it stops throwing nohostavailables due to not being ready. if the timeout is exceeded, the ex |
| HIGH | test/cluster/dtest/dtest_setup.py | 0 | returns a connection after it stops throwing nohostavailables due to not being ready. if the timeout is exceeded, the ex |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/cluster/dtest/auth_test.py | 0 | originally from dtest. **description:** **expected result:** |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_repair.py | 0 | \ starting repair command #1, repairing 1 ranges for keyspace ks (parallelism=sequential, full=true) repair session 1 re |
| HIGH | test/nodetool/test_cluster_repair.py | 0 | \ starting repair with task_id={id1} keyspace=ks table=table1 repair with task_id={id1} finished starting repair with ta |
| HIGH | test/nodetool/test_cluster_repair.py | 0 | \ starting repair with task_id={id1} keyspace=ks table=table1 repair with task_id={id1} finished starting repair with ta |
| HIGH | test/nodetool/test_cluster_repair.py | 0 | \ starting repair with task_id={id1} keyspace=ks table=table1 repair with task_id={id1} finished starting repair with ta |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/cluster/test_change_rpc_address.py | 49 | # ---------- |
| MEDIUM | test/cluster/test_change_rpc_address.py | 72 | # ---------- |
| MEDIUM | test/cluster/test_incremental_repair.py | 1133 | # ---------------------------------------------------------------------------- |
| MEDIUM | test/cluster/test_incremental_repair.py | 1165 | # ---------------------------------------------------------------------------- |
| MEDIUM | test/pylib/skip_types.py | 49 | # ── Convenience wrappers ──────────────────────────────────────────────── |
| MEDIUM | test/dist_test/test_coredump_setup.py | 13 | # --------------------------------------------------------------------------- |
| MEDIUM | test/dist_test/test_coredump_setup.py | 16 | # --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_describe.py | 716 | # ----------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_describe.py | 3327 | ### =========================================================================== |
| MEDIUM | test/cqlpy/test_describe.py | 843 | # ----------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_describe.py | 1552 | ### --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_describe.py | 1731 | ### =========================================================================== |
| MEDIUM | test/cqlpy/test_vector_search_rescoring_with_mock.py | 24 | # --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_vector_search_rescoring_with_mock.py | 26 | # --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_vector_search_rescoring_with_mock.py | 63 | # --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_vector_search_rescoring_with_mock.py | 65 | # --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_vector_search_rescoring_with_mock.py | 109 | # --------------------------------------------------------------------------- |
| MEDIUM | test/cqlpy/test_vector_search_rescoring_with_mock.py | 111 | # --------------------------------------------------------------------------- |
| MEDIUM | …y/cassandra_tests/validation/operations/select_test.py | 1729 | # -------------------------------------------------- |
| MEDIUM | …y/cassandra_tests/validation/operations/select_test.py | 1731 | # -------------------------------------------------- |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 611 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 613 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 739 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 741 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 1576 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 1578 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 1759 | # ------------------------------------ |
| MEDIUM | …ra_tests/validation/operations/select_group_by_test.py | 1761 | # ------------------------------------ |
| MEDIUM | scripts/compare_build_systems.py | 731 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 733 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 61 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 63 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 143 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 145 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 258 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 260 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 408 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 410 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 533 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 535 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 827 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 829 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 912 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 914 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1137 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1139 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1168 | # ── 1. Per-file compilation flags ───────────────────────────── |
| MEDIUM | scripts/compare_build_systems.py | 1184 | # ── 2. Link targets ─────────────────────────────────────────── |
| MEDIUM | scripts/compare_build_systems.py | 1200 | # ── 3. Linker flags & libraries ─────────────────────────────── |
| MEDIUM | scripts/compare_build_systems.py | 1215 | # ── 4. IDL-generated files ───────────────────────────────────── |
| MEDIUM | scripts/compare_build_systems.py | 1239 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1241 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1347 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1349 | # ═══════════════════════════════════════════════════════════════════════════ |
| MEDIUM | scripts/compare_build_systems.py | 1426 | # ── 1. Run configure.py (all modes at once) ────────────── |
| MEDIUM | scripts/compare_build_systems.py | 1440 | # ── 2. Canary mode for fail-fast ────────────────────────── |
| MEDIUM | scripts/compare_build_systems.py | 1519 | # ── Summary ─────────────────────────────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | scylla-gdb.py | 5637 | "org.apache.cassandra.db.marshal.ReversedType(org.apache.cassandra.db.marshal.LongType)" |
| CRITICAL | scylla-gdb.py | 5641 | column_kind::clustering_key id=0 ordinal_id=1 "ck" "org.apache.cassandra.db.marshal.ReversedType(org.apache.cass |
| CRITICAL | test/cluster/auth_cluster/test_prepared_metadata_id.py | 36 | _TEXT_MAP_TYPE = f"org.apache.cassandra.db.marshal.MapType({_UTF8_TYPE},{_UTF8_TYPE})" |
| CRITICAL | test/alternator/test_system_tables.py | 138 | is_ssl = dynamodb.meta.client._endpoint.host.startswith('https') |
| CRITICAL | test/alternator/util.py | 233 | return dynamodb.meta.client._endpoint.host.endswith('.amazonaws.com') |
| CRITICAL | test/alternator/test_compressed_response.py | 44 | dynamodb.meta.client.meta.events.register(event_name, handler) |
| CRITICAL | test/alternator/test_compressed_response.py | 48 | dynamodb.meta.client.meta.events.unregister(event_name, handler) |
| CRITICAL | test/alternator/test_compressed_response.py | 319 | dynamodb.meta.client._endpoint.http_session._manager.clear() # Exception may leave bad state in connection p |
| CRITICAL | docs/_static/api/js/swagger-ui.min.js | 13 | this.statusText=this.req.xhr.statusText,this._setStatusProperties(this.xhr.status),this.header=this.headers=s(this.xhr.g |
| CRITICAL | docs/_ext/scylladb_metrics.py | 120 | return self.env.app.builder.templates.render(template, item) |
| CRITICAL | docs/_ext/scylladb_swagger.py | 108 | app.connect('builder-inited', lambda app: app.builder.templates.environment.globals.update( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cluster/conftest.py | 323 | # Since connection is managed by manager just return that object |
| MEDIUM | test/cluster/test_table_drop.py | 106 | # A log-based wait would be more robust but there is no dedicated log |
| MEDIUM | test/cluster/test_proxy_protocol.py | 364 | # The test harness runs with --smp 2 by default |
| MEDIUM | test/cluster/test_proxy_protocol.py | 529 | # The test harness runs with --smp 2 by default |
| LOW | test/cluster/test_encryption.py | 490 | # connect to CQL!), so let's just use that role. |
| LOW | test/cluster/object_store/test_backup.py | 200 | # If we just use {cf}/backup, files like "schema.cql" and "manifest.json" will remain after previous test |
| MEDIUM | test/cluster/auth_cluster/test_prepared_metadata_id.py | 164 | # a worker thread instead of blocking the asyncio-based test harness. |
| LOW | test/cluster/dtest/ccmlib/scylla_node.py | 803 | # out. let's just return an empty list for the partitions, so that |
| LOW | test/cluster/mv/tablets/test_mv_tablets.py | 33 | # target_server, let's just use that. |
| LOW | test/alternator/conftest.py | 100 | # connect to CQL!), so let's just use that role. |
| MEDIUM | test/alternator/test_update_expression.py | 793 | # because boto3 parses a set out of the returned JSON anyway. This check should leverage |
| LOW | test/alternator/test_metrics.py | 91 | # doesn't have "continue 2" so let's just set val to 0... |
| LOW | test/alternator/test_table.py | 575 | # test finishes. On DynamoDB, we can't just call DeleteTable - |
| LOW | test/alternator/test_nested.py | 40 | # trying to use a dot in the name of the attribute, will just create one with |
| MEDIUM | test/alternator/test_gsi.py | 1176 | # This test is a comprehensive regression test for issue #5320, testing that |
| MEDIUM | test/alternator/test_limits.py | 61 | # in the aforementioned cases. Note that contrary to what the DynamoDB |
| MEDIUM | test/pylib/manager_client.py | 131 | # More robust version of get_cql, when topology changes |
| MEDIUM | test/pylib/host_registry.py | 50 | # pid? The pid changes between restarts, and harness does start and |
| LOW | test/cqlpy/run.py | 346 | # Same as run_scylla_cmd, just use SSL encryption for the CQL port (same |
| LOW | test/cqlpy/conftest.py | 120 | # If tablets are not available or not enabled, we just create a regular keyspace |
| LOW | test/cqlpy/test_ttl_row.py | 68 | # will just return the same error - but let's check a few types |
| LOW | test/cqlpy/util.py | 55 | # here does not need to be global - we can just use a simple counter to |
| LOW | test/cqlpy/util.py | 97 | # we should just return False. |
| LOW | test/cqlpy/test_clustering_order.py | 60 | # reversed), just return results in a the reversed order. |
| LOW | test/cqlpy/test_unset.py | 200 | # Similar to test_unset_insert_where() above, just use an LWT write ("IF |
| LOW | test/cqlpy/test_wasm.py | 527 | # doesn't have "continue 2" so let's just set val to 0... |
| MEDIUM | test/cqlpy/test_json.py | 544 | # This issue is also reproduced by the much more comprehensive test |
| MEDIUM | test/cqlpy/test_permissions.py | 608 | # cannot update system tables, especially elevate itself to a superuser |
| MEDIUM | test/manual/cassandra_latest.yaml | 14 | # This version is provided to facilitate pain-free upgrades for existing |
| MEDIUM | test/manual/cassandra_latest.yaml | 1832 | # each write which may be lower in order to facilitate availability. |
| LOW | test/rest_api/conftest.py | 90 | # If tablets are not available or not enabled, we just create a regular keyspace |
| MEDIUM | pgo/pgo.py | 613 | # dataset by dataset name, not by function name) is to facilitate sharing of datasets between trainers. |
| LOW | scripts/get_description.py | 175 | # If not relative to cwd, just use the name as-is |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cluster/test_maintenance_mode.py | 184 | # Check if the changes made in maintenance mode are persisted |
| LOW | test/cluster/conftest.py | 250 | # Check if the test has the check_nodes_for_errors marker |
| LOW | test/cluster/test_truncate_with_tablets.py | 57 | # Check if we have any data |
| LOW | test/cluster/test_truncate_with_tablets.py | 164 | # Check if truncate was successful |
| LOW | test/cluster/test_truncate_with_tablets.py | 209 | # Check if we have any data |
| LOW | test/cluster/test_truncate_with_tablets.py | 257 | # Check if we have any data |
| LOW | test/cluster/test_truncate_with_tablets.py | 337 | # Check if we have any data |
| LOW | test/cluster/test_multidc.py | 236 | # Check if it works if the RF doesn't change. |
| LOW | test/cluster/test_multidc.py | 268 | # Check if it works if the RF doesn't change. |
| LOW | test/cluster/test_multidc.py | 274 | # Check if it works if the RF doesn't change. |
| LOW | test/cluster/test_incremental_repair.py | 990 | # Check if leadership transferred during the restart. Any coordinator |
| LOW | test/cluster/test_tablets.py | 1536 | # Check if view building was started |
| LOW | test/cluster/auth_cluster/test_raft_service_levels.py | 313 | # Check if group0 is healthy |
| LOW | test/alternator/test_streams.py | 262 | # Set found_table to the table found, other_table to the one not |
| LOW | test/alternator/test_streams.py | 1503 | # Set x to be a map: {'dog': 1, 'cat': 2, 'mouse': 3}. |
| LOW | test/alternator/test_metrics.py | 82 | # Check if match also matches the requested labels |
| LOW | test/alternator/test_audit.py | 655 | # Set audit_keyspaces to an unrelated keyspace — NOT the table's keyspace |
| LOW | test/alternator/test_lsi.py | 837 | # Set b to b2 instead of b1. |
| LOW | test/pylib/runner.py | 284 | # Check if this is an xdist worker |
| LOW | test/pylib/runner.py | 373 | # Check if this is an xdist worker - workers should not clean up (only the main process should) |
| LOW | test/pylib/runner.py | 374 | # Check if test.py has already prepared the environment, so it should clean up |
| LOW | test/cqlpy/test_describe.py | 857 | # Check if name in create statement is quoted |
| LOW | test/cqlpy/test_describe.py | 861 | # Check if name if keyspaces listing is quoted |
| LOW | test/cqlpy/test_describe.py | 1042 | # Check if the log table exists |
| LOW | test/cqlpy/test_describe.py | 1071 | # Check if base and log tables were recreated |
| LOW | test/cqlpy/test_uda.py | 248 | # Check if we can use lua, i.e. we're in Scylla |
| LOW | test/cqlpy/test_wasm.py | 518 | # Check if match also matches the requested labels |
| LOW | test/cqlpy/cassandra_tests/porting.py | 222 | # Check if results is one of two possible result sets. |
| LOW | test/manual/cassandra_latest.yaml | 1241 | # Set sstable_preemptive_open_interval to null for disabled which is equivalent to |
| LOW | test/rest_api/test_repair_task.py | 106 | # Check if task state is correct. |
| LOW | test/rest_api/test_compaction_task.py | 37 | # Check if all tasks finished successfully. |
| LOW | test/rest_api/test_column_family.py | 119 | # Check if index reader is closed on happy path. |
| LOW | test/rest_api/test_column_family.py | 123 | # Check if index reader is closed if exception is thrown. |
| LOW | scripts/get_description.py | 208 | # Check if add_group and metric are on the same line |
| LOW | scripts/pull_github_pr.sh | 247 | # Check if any changed files are in submodule directories |
| LOW | .github/workflows/add-label-when-promoted.yaml | 68 | # Check if a valid backport label exists |
| LOW | .github/workflows/trigger_ci.yaml | 59 | # Check if PR is in draft mode |
| LOW | .github/workflows/trigger_ci.yaml | 62 | # Check if PR has 'conflict' label |
| LOW | .github/workflows/trigger_ci.yaml | 84 | # Check if PR has P0 or P1 labels |
| LOW | .github/workflows/trigger_ci.yaml | 91 | # Check if PR already has force_on_cloud label |
| LOW | .github/scripts/sync_labels.py | 90 | # Check if any other P0/P1 labels remain before removing force_on_cloud |
| LOW | .github/scripts/auto-backport.py | 86 | if len(merge_commit.parents) > 1: # Check if this merge commit includes multiple commits |
| LOW | .github/scripts/auto-backport.py | 131 | # Check if the branch already exists in the remote fork |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | idl-compiler.py | 53 | * This is an auto-generated code, do not modify directly. |
| HIGH | test/alternator/test_filter_expression.py | 685 | # as requested by ProjectionExpression. It won't include x - it was just |
| HIGH | test/alternator/test_query_filter.py | 549 | # as requested by AttributesToGet. It won't include x - it was just |
| HIGH | test/alternator/test_cql_rbac.py | 1119 | # Test that the permissions checks for writing to system tables (as requested |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/pylib/coverage_utils.py | 238 | Gets the file type description from the shell `file` utility Args: f (PathLike): _description_ |
| HIGH | test/pylib/coverage_utils.py | 358 | A function to get the binary id of an ELF file Args: path (PathLike): A path to the file who's id to extrac |
| HIGH | test/pylib/coverage_utils.py | 389 | Maps given files to their build ids, for paths it recursively finds elfs contained in them and maps them. Ar |
| HIGH | test/pylib/coverage_utils.py | 445 | For a given file (assumed to be llvm profile, either raw or indexed), get the profiled binary ids. The reason that c |
| HIGH | test/pylib/version_fetch_utils.py | 248 | Fetch, cache, unpack, and install a ScyllaDB release archive. The archive is resolved from either the supplied versi |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/cqlpy/test_compaction_strategy_validation.py | 21 | # expression, so you can use the "|" character to allow two options. |
| MEDIUM | …assandra_tests/validation/entities/collections_test.py | 445 | # Test you can add columns in a table with collections (CASSANDrA-4982), |
| MEDIUM | test/manual/cassandra_latest.yaml | 64 | # initial_token allows you to specify tokens manually. While you can use it with |
| MEDIUM | test/manual/cassandra_latest.yaml | 1035 | # you may want to adjust max_value_size accordingly. This should be positive and less than 2048. |
| MEDIUM | pgo/conf/scylla.yaml | 265 | # initial_token allows you to specify tokens manually. While you can use # it with |
| MEDIUM | conf/scylla.yaml | 265 | # initial_token allows you to specify tokens manually. While you can use # it with |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cluster/test_tablets_lwt.py | 251 | # Step 2: Inject paxos_error_before_save_proposal - on [n3], paxos_error_before_learn on [n2, n3], |
| LOW | test/cluster/test_tablets_lwt.py | 277 | # Step 4: execute LWT on n3, n4 |
| LOW | test/cluster/test_tablets_lwt.py | 382 | # Step 4: New node n4 is added to replace n1. |
| LOW | test/alternator/test_transact.py | 851 | # transaction so we need to check if it's also recognized, and whether it |
| LOW | test/cqlpy/test_permissions.py | 944 | # Step 1: Verify direct execution is blocked (sanity check) |
| LOW | test/cqlpy/test_permissions.py | 948 | # Step 2: Execute via BATCH — this must fail with Unauthorized, |
| LOW | test/cqlpy/test_permissions.py | 955 | # Step 3: Now execute the same prepared statement directly |
| LOW | test/manual/cassandra_latest.yaml | 1592 | # Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodes |
| LOW | test/manual/cassandra_latest.yaml | 1594 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual |
| LOW | test/manual/cassandra_latest.yaml | 1650 | # Step 1: Set enabled=true and explicitly set optional=true. Restart all nodes |
| LOW | test/manual/cassandra_latest.yaml | 1652 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/tablet-mon.py | 11 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cluster/dtest/tools/assertions.py | 23 | assert_all(session, "SELECT * FROM test", [[1, 'John Doe'], [2, 'Jane Doe'], [3, 'Alex Smith']]) |
| LOW | test/cluster/dtest/tools/assertions.py | 23 | assert_all(session, "SELECT * FROM test", [[1, 'John Doe'], [2, 'Jane Doe'], [3, 'Alex Smith']]) |