FoundationDB - the open source, distributed, transactional key-value store
This report summarizes scanner evidence for apple/foundationdb, a C++ project with 16,769 GitHub stars. SynthScan examined 719,478 lines of code across 2267 source files, recording 2289 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 4.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1979 finding(s).
Are imports declared and package/API names verified? 94 finding(s).
Are wrappers, guards, and repeated structures necessary? 417 finding(s).
Which changes need focused human review? 2289 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2289 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # | COMMENT |
| LOW | packaging/make_public.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | packaging/docker/sidecar.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | packaging/docker/fdb_single.bash | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | packaging/docker/sidecar_test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | packaging/docker/fdb.bash | 1 | #!/bin/bash | COMMENT |
| LOW | packaging/docker/entrypoint.bash | 1 | #!/bin/bash | COMMENT |
| LOW | …-credentials-fetcher/fdb-aws-s3-credentials-fetcher.go | 1 | // fdb-aws-s3-credentials-fetcher.go | COMMENT |
| LOW | packaging/docker/samples/python/docker-compose.yml | 1 | # docker-compose.yaml | COMMENT |
| LOW | packaging/docker/samples/python/app/server.py | 1 | # server.py | COMMENT |
| LOW | packaging/docker/samples/python/app/requirements.txt | 1 | # requirements.txt | COMMENT |
| LOW | packaging/docker/samples/python/app/start.bash | 1 | #! /bin/bash | COMMENT |
| LOW | packaging/docker/samples/golang/docker-compose.yml | 1 | # docker-compose.yaml | COMMENT |
| LOW | packaging/docker/samples/golang/app/start.bash | 1 | #!/bin/bash | COMMENT |
| LOW | packaging/docker/samples/golang/app/main.go | 1 | // main.go | COMMENT |
| LOW | packaging/docker/samples/local/stop.bash | 1 | #! /bin/bash | COMMENT |
| LOW | packaging/docker/samples/local/start.bash | 1 | #! /bin/bash | COMMENT |
| LOW | packaging/docker/samples/local/docker-compose.yml | 1 | # docker-compose.yaml | COMMENT |
| LOW | packaging/docker/kubernetes/test_config.yaml | 1 | # statefulset.yaml | COMMENT |
| LOW | design/fdb-coroutines-internals.md | 461 | // ^^^^^^^^^ | COMMENT |
| LOW | documentation/sphinx/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | documentation/sphinx/conf.py | 61 | language = "en" | COMMENT |
| LOW | documentation/sphinx/conf.py | 81 | # add_module_names = True | COMMENT |
| LOW | documentation/sphinx/conf.py | 121 | # The name of an image file (relative to this directory) to place at the top | COMMENT |
| LOW | documentation/sphinx/conf.py | 201 | ] | COMMENT |
| LOW | documentation/sphinx/extensions/brokenrole.py | 1 | # | COMMENT |
| LOW | documentation/sphinx/extensions/relativelink.py | 1 | # | COMMENT |
| LOW | documentation/coro_tutorial/tutorial.cpp | 21 | #include "fmt/format.h" | COMMENT |
| LOW | layers/taskbucket/__init__.py | 1 | # | COMMENT |
| LOW | layers/taskbucket/test.py | 1 | #!/usr/bin/python | COMMENT |
| LOW | layers/bulkload/bulk.py | 1 | # | COMMENT |
| LOW | layers/compressedColumn/compressedColumn.py | 1 | # | COMMENT |
| LOW | layers/pubsub/pubsub_orig.py | 1 | # | COMMENT |
| LOW | layers/pubsub/pubsub_simpledoc.py | 1 | # | COMMENT |
| LOW | layers/pubsub/pubsub_example.py | 1 | # | COMMENT |
| LOW | layers/pubsub/remotesend.py | 1 | #!/usr/bin/python -u | COMMENT |
| LOW | layers/pubsub/ps_tutorial.py | 1 | #!/usr/bin/python -i | COMMENT |
| LOW | layers/pubsub/ps_test.py | 1 | #!/usr/bin/python -i | COMMENT |
| LOW | layers/pubsub/ps_prompt.py | 1 | #!/usr/bin/python -i | COMMENT |
| LOW | layers/pubsub/remotesubscribe.py | 1 | #!/usr/bin/python -u | COMMENT |
| LOW | layers/pubsub/remotesubscribe.py | 61 | # | COMMENT |
| LOW | layers/pubsub/pubsub.py | 1 | # | COMMENT |
| LOW | layers/pubsub/remoteload.py | 1 | #!/usr/bin/python -u | COMMENT |
| LOW | layers/containers/vector.py | 1 | # | COMMENT |
| LOW | layers/containers/vector.py | 61 | COMMENT | |
| LOW | layers/containers/treap.py | 1 | # | COMMENT |
| LOW | layers/containers/set.py | 1 | # | COMMENT |
| LOW | layers/containers/highcontention/queue.py | 1 | # | COMMENT |
| LOW | fdbrpc/Base64Decode.cpp | 21 | #include <string_view> | COMMENT |
| LOW | fdbrpc/Base64Decode.h | 21 | #ifndef BASE64_DECODE_H | COMMENT |
| LOW | fdbrpc/sim2.cpp | 21 | #include <string> | COMMENT |
| LOW | fdbrpc/sim2.cpp | 41 | #include "flow/ProtocolVersion.h" | COMMENT |
| LOW | fdbrpc/sim2.cpp | 821 | int sf_open(const char* filename, int flags, int convFlags, int mode); | COMMENT |
| LOW | fdbrpc/Base64Encode.h | 21 | #ifndef BASE64_ENCODE_H | COMMENT |
| LOW | fdbrpc/FlowTransport.cpp | 21 | #include "fdbrpc/FlowTransport.h" | COMMENT |
| LOW | fdbrpc/FlowTransport.cpp | 41 | #include "fdbrpc/FailureMonitor.h" | COMMENT |
| LOW | fdbrpc/FlowTransport.cpp | 721 | ISerializeSource const& what, | COMMENT |
| LOW | fdbrpc/FlowTransport.cpp | 741 | // upgrades when clients will not reconnect unless | COMMENT |
| LOW | fdbrpc/SimExternalConnection.cpp | 21 | #ifndef BOOST_DATE_TIME_NO_LIB | COMMENT |
| LOW | fdbrpc/FileTransfer.cpp | 121 | if (status.ok()) { | COMMENT |
| 1279 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | layers/containers/vector.py | 72 | # vector.push(1) | COMMENT |
| HIGH | layers/containers/vector.py | 129 | vector.push(1) | STRING |
| HIGH | layers/containers/vector.py | 408 | vector.push(3) | CODE |
| HIGH | layers/containers/vector.py | 425 | vector.push('Foo') | CODE |
| HIGH | layers/containers/vector.py | 534 | vector.push(i) | CODE |
| HIGH⚡ | layers/containers/highcontention/queue.py | 299 | queue.push(db, 10) | CODE |
| HIGH⚡ | layers/containers/highcontention/queue.py | 300 | queue.push(db, 8) | CODE |
| HIGH⚡ | layers/containers/highcontention/queue.py | 301 | queue.push(db, 6) | CODE |
| HIGH⚡ | layers/containers/highcontention/queue.py | 309 | queue.push(db, 5) | CODE |
| HIGH⚡ | layers/containers/highcontention/queue.py | 326 | queue.push(db, i) | CODE |
| HIGH⚡ | layers/containers/highcontention/queue.py | 334 | queue.push(db, '%d.%d' % (id, i)) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 203 | inst.push(op_tuple[1]) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 205 | inst.stack.push(*self.stack[0]) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 215 | inst.push(a - b) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 218 | inst.push(a + b) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 221 | inst.stack.push(old_idx, item) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 227 | inst.push(inst.tr.on_error(inst.pop())) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 239 | inst.push(b"RESULT_NOT_PRESENT") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 241 | inst.push(f) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 245 | inst.push(b"GOT_ESTIMATED_RANGE_SIZE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 249 | inst.push(b"GOT_RANGE_SPLIT_POINTS") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 254 | inst.push(result) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 256 | inst.push(prefix) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 258 | inst.push(strinc(prefix)) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 350 | inst.push(b"RESULT_NOT_PRESENT") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 354 | inst.push(b"RESULT_NOT_PRESENT") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 357 | inst.push(b"SET_CONFLICT_RANGE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 360 | inst.push(b"SET_CONFLICT_RANGE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 363 | inst.push(b"SET_CONFLICT_KEY") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 366 | inst.push(b"SET_CONFLICT_KEY") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 370 | inst.push(inst.tr.commit()) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 377 | inst.push(b"GOT_COMMITTED_VERSION") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 380 | inst.push(b"GOT_APPROXIMATE_SIZE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 382 | inst.push(inst.tr.get_versionstamp()) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 386 | inst.push(fdb.tuple.pack(tuple(items))) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 395 | inst.push(b"ERROR: NONE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 401 | inst.push(b"OK") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 402 | inst.push(packed) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 405 | inst.push(b"ERROR: NONE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 407 | inst.push(b"ERROR: MULTIPLE") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 410 | inst.push(fdb.tuple.pack((i,))) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 417 | inst.push(fdb.tuple.pack(item)) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 422 | inst.push(r.start) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 423 | inst.push(r.stop) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 434 | inst.push(fdb.tuple.SingleFloat(f)) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 438 | inst.push(d) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 442 | inst.push(f_bytes) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 446 | inst.push(d_bytes) | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 455 | inst.push(b"WAITED_FOR_EMPTY") | CODE |
| HIGH⚡ | bindings/python/tests/tester.py | 464 | inst.stack.push( | CODE |
| HIGH | bindings/python/tests/tester.py | 118 | self.stack.push(self.index, val) | CODE |
| HIGH | bindings/python/tests/tester.py | 144 | inst.push(fdb.tuple.pack(tuple(kvs))) | CODE |
| HIGH | bindings/python/tests/tester.py | 302 | inst.push(b"GOT_READ_VERSION") | CODE |
| HIGH | bindings/python/tests/tester.py | 311 | inst.push(b"RESULT_NOT_PRESENT") | CODE |
| HIGH | bindings/python/tests/tester.py | 328 | inst.push(b"RESULT_NOT_PRESENT") | CODE |
| HIGH | bindings/python/tests/tester.py | 338 | inst.push(b"RESULT_NOT_PRESENT") | CODE |
| HIGH | bindings/python/tests/directory_extension.py | 188 | inst.push(fdb.tuple.pack(tuple(result))) | CODE |
| HIGH⚡ | bindings/python/tests/directory_extension.py | 200 | inst.push(1) | CODE |
| HIGH⚡ | bindings/python/tests/directory_extension.py | 202 | inst.push(0) | CODE |
| HIGH⚡ | bindings/python/tests/directory_extension.py | 205 | inst.push(directory.pack(key_tuple)) | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/make_public.py | 38 | def getOrValidateAddress(address): | CODE |
| LOW | packaging/docker/sidecar_test.py | 89 | def test_get_check_hash_no_found(self): | CODE |
| LOW | packaging/docker/sidecar_test.py | 103 | def test_get_check_hash_nested(self): | CODE |
| LOW | packaging/docker/sidecar_test.py | 114 | def test_get_check_hash_outside(self): | CODE |
| LOW | packaging/docker/sidecar_test.py | 121 | def test_get_is_present_no_found(self): | CODE |
| LOW | packaging/docker/sidecar_test.py | 133 | def test_get_is_present_nested(self): | CODE |
| LOW | packaging/docker/sidecar_test.py | 142 | def test_get_check_is_present(self): | CODE |
| LOW⚡ | layers/pubsub/pubsub_orig.py | 72 | def key_for_feed_subscriber_count(feed): | CODE |
| LOW⚡ | layers/pubsub/pubsub_orig.py | 76 | def key_for_feed_message_count(feed): | CODE |
| LOW⚡ | layers/pubsub/pubsub_orig.py | 84 | def prefix_for_feed_subscribers(feed): | CODE |
| LOW⚡ | layers/pubsub/pubsub_orig.py | 104 | def key_for_inbox_subscription_count(inbox): | CODE |
| LOW⚡ | layers/pubsub/pubsub_orig.py | 108 | def key_for_inbox_subscription(inbox, feed): | CODE |
| LOW⚡ | layers/pubsub/pubsub_orig.py | 112 | def prefix_for_inbox_subscriptions(inbox): | CODE |
| LOW | layers/pubsub/pubsub_orig.py | 151 | def _create_subscription_internal(tr, feed, inbox): | CODE |
| LOW | layers/pubsub/pubsub_simpledoc.py | 50 | def _create_feed_and_inbox_internal(metadata): | CODE |
| LOW | layers/pubsub/pubsub_simpledoc.py | 57 | def _create_subscription_internal(feed, inbox): | CODE |
| LOW | layers/pubsub/pubsub_simpledoc.py | 85 | def _get_feed_messages_internal(feed, limit): | CODE |
| LOW | layers/pubsub/pubsub_simpledoc.py | 119 | def _get_inbox_subscriptions_internal(inbox, limit): | CODE |
| LOW | layers/pubsub/pubsub_simpledoc.py | 129 | def _get_inbox_messages_internal(inbox, limit): | CODE |
| LOW | layers/pubsub/pubsub_example.py | 66 | def get_and_print_inbox_messages(inbox, limit=10): | CODE |
| LOW | layers/pubsub/pubsub.py | 259 | def get_and_print_inbox_messages(inbox, limit=10): | CODE |
| LOW | layers/containers/set.py | 160 | def symmetric_difference_update(self, tr, t): # s ^ t | CODE |
| LOW⚡ | layers/containers/highcontention/queue.py | 321 | def queue_single_client_example(db): | CODE |
| LOW | layers/containers/highcontention/queue.py | 347 | def queue_multi_client_example(db): | CODE |
| LOW | cmake/tests/test_unit_test_registration.py | 79 | def test_modes_metadata_and_default_build(self): | STRING |
| LOW | cmake/tests/test_unit_test_registration.py | 103 | def test_opt_out_preserves_explicit_aggregate(self): | STRING |
| LOW | cmake/tests/test_unit_test_registration.py | 128 | def test_invalid_configuration(self): | STRING |
| LOW | tests/TestRunner/fdb_test_runner/binary_download.py | 140 | def copy_clientlib_from_local_repo(self, version): | CODE |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 461 | def authz_public_key_conf_string(self): | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 494 | def get_all_servers_from_status(self): | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 498 | def get_coordinators_from_status(self): | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 566 | def wait_for_coordinator_update(self, timeout=CLUSTER_UPDATE_TIMEOUT_SEC): | STRING |
| LOW | tests/python_tests/__init__.py | 57 | def multi_version_description(self): | CODE |
| LOW | tests/python_tests/python_correctness.py | 500 | def compare_database_to_memory(self, db, store): | CODE |
| LOW | tests/python_tests/python_correctness.py | 668 | def correctness_set_transactional(self, tr, data): | CODE |
| LOW | tests/python_tests/python_correctness.py | 694 | def correctness_get_transactional(self, tr, keys): | CODE |
| LOW | tests/python_tests/python_correctness.py | 720 | def correctness_get_range_transactional(self, tr, key1, key2, data=None): | CODE |
| LOW | tests/python_tests/python_correctness.py | 738 | def correctness_get_prefix_transactional(self, tr, prefix): | CODE |
| LOW | tests/python_tests/python_correctness.py | 773 | def correctness_get_key_transactional(self, tr, key_selectors): | CODE |
| LOW | tests/python_tests/python_correctness.py | 807 | def correctness_clear_transactional(self, tr, cleared_keys): | CODE |
| LOW | tests/python_tests/python_correctness.py | 824 | def correctness_clear_range_transactional(self, tr, key1, key2): | CODE |
| LOW | tests/python_tests/python_correctness.py | 841 | def correctness_clear_prefix_transactional(self, tr, prefixes): | CODE |
| LOW⚡ | tests/python_tests/ryw_benchmark.py | 140 | def run_single_clear_get_range(self, tr, count=100): | CODE |
| LOW⚡ | tests/python_tests/ryw_benchmark.py | 150 | def run_clear_range_get_range(self, tr, count=100): | CODE |
| LOW⚡ | tests/python_tests/ryw_benchmark.py | 160 | def run_interleaved_sets_gets(self, tr, count=10000): | CODE |
| LOW | contrib/mako_ab_memtracker.py | 71 | def _assert_safe_scratch_mount(mount): | CODE |
| LOW | contrib/convert.py | 12 | def find_version_for_timestamp(tr, timestamp, start): | CODE |
| LOW | contrib/convert.py | 39 | def find_timestamp_for_version(tr, version): | CODE |
| LOW | contrib/ddsketch_compare.py | 37 | def relative_entropy_symmetric(dd1, dd2): | CODE |
| LOW | contrib/prx.py | 118 | def get_commits_from_merge_hash(merge: str) -> List[str]: | CODE |
| LOW | contrib/pkg_tester/test_fdb_pkgs.py | 92 | def ubuntu_image_with_fdb_helper(versioned: bool) -> Iterator[Optional[Image]]: | CODE |
| LOW | contrib/pkg_tester/test_fdb_pkgs.py | 142 | def ubuntu_image_with_fdb_versioned() -> Iterator[Optional[Image]]: | CODE |
| LOW | contrib/pkg_tester/test_fdb_pkgs.py | 146 | def centos_image_with_fdb_helper(versioned: bool) -> Iterator[Optional[Image]]: | CODE |
| LOW | contrib/pkg_tester/test_fdb_pkgs.py | 191 | def centos_image_with_fdb_versioned() -> Iterator[Optional[Image]]: | CODE |
| LOW | contrib/pkg_tester/test_fdb_pkgs.py | 323 | def test_execstack_permissions_libfdb_c(linux_container: Container, snapshot): | STRING |
| LOW | contrib/joshua_stats/stats.py | 63 | def get_speedup_long_simulation_time(filepath, threshold): | CODE |
| LOW | contrib/joshua_stats/stats.py | 179 | def draw_speedup_long_physical_time(speedups, do_y_log_scale, threshold, label): | CODE |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 443 | def _check_and_adjust_chunk_cache_size(self): | CODE |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 462 | def get_key_prefix_for_version_stamp(self, version_stamp): | CODE |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 468 | def find_version_for_timestamp(self, tr, timestamp, start): | CODE |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 92 | // Step 1: Calculate target size and required padding | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 100 | // Step 2: Build the footer | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 108 | // Step 3: Assemble the final serialized checkpoint | COMMENT |
| LOW | fdbclient/StorageCheckpoint.cpp | 134 | // Step 1: Extract footer and parse padding size | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 145 | // Step 2: Calculate original payload size | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 150 | // Step 3: Extract and return the original payload | COMMENT |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 605 | # Step 1: add new servers | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 622 | # Step 2: change coordinators | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 635 | # Step 3: exclude old servers from the cluster, i.e. move out their data | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 644 | # Step 4: remove the old servers | STRING |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 286 | # Step 1: Restore with prefix using traditional rangefile mode (keep the data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 294 | # Step 2: Clear normalKeys (original data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 301 | # Step 3: Restore to normalKeys | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 319 | # Step 4: Run audit to compare BulkLoad-restored (normalKeys) vs traditional-restored (prefix) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 328 | # Step 5: Clean up the prefixed validation data | COMMENT |
| LOW | contrib/joshua_logtool.py | 123 | # Step 1: Find log files | COMMENT |
| LOW⚡ | contrib/joshua_logtool.py | 224 | # Step 2: Determine ensemble ID | COMMENT |
| LOW | contrib/joshua_logtool.py | 236 | # Step 3: Create tar archive | COMMENT |
| LOW | contrib/joshua_logtool.py | 253 | # Step 4: Upload to FDB | COMMENT |
| LOW | contrib/joshua_stats/readme.md | 6 | ### Step 1: Download Joshua test detailed output | COMMENT |
| LOW | contrib/joshua_stats/readme.md | 9 | ### Step 2: Run stats script | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 947 | # Step 1: Get serverList entries from FDB | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1034 | # Step 3: Compare | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1273 | # Step 4: Try to match by first 8 bytes (fdbcli only shows first half of UID) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1015 | # Step 2: Get running storage servers from fdbcli status | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1312 | # Step 5: Try to match by address (only if prefix match failed) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1360 | # Step 6: Scan serverKeys to find full UIDs | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2561 | # Step 1: Build map from keyServers - what ranges are assigned to which servers | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2586 | # Step 2: Build map from serverKeys - what ranges each server claims | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2622 | # Step 3: Compare - for each keyServers range, check serverKeys agrees | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2704 | # Step 1: Build complete map of what each server claims to own from serverKeys | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2742 | # Step 2: For each keyServers range, check that all listed servers claim it | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2807 | # Step 3: Find orphan serverKeys - servers that claim ranges but aren't in keyServers | COMMENT |
| LOW | contrib/mtlsbenchmark/readme.md | 13 | ### Step 1: Generate TLS Certificates | COMMENT |
| LOW | contrib/mtlsbenchmark/readme.md | 24 | ### Step 2: Configure Test in Scripts | COMMENT |
| LOW | contrib/mtlsbenchmark/readme.md | 50 | ### Step 3: Start the Server and Client(s) | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8428 | // Step 1: Download files to localRoot | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8468 | // Step 2: Do byte sampling locally if the remote byte sampling file is not valid nor existing | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8491 | // Step 3: Build LocalRecord used by ShardedRocksDB KVStore when injecting data | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8533 | // Step 4: Update the moveInShard phase | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 72 | // Step 1: Clean up local folder | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 75 | // Step 2: Dump data to file | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 85 | // Step 3: Dump sample to file | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 94 | // Step 4: Generate manifest file | COMMENT |
| LOW | fdbserver/core/BackupPartitionMap.cpp | 50 | // Step 1: Collect shard sizes | COMMENT |
| LOW | fdbserver/core/BackupPartitionMap.cpp | 76 | // Step 2: Partition the shards | COMMENT |
| LOW⚡ | fdbserver/core/BulkLoadUtil.cpp | 302 | // Step 1: Generate local file set based on remote file set by replacing the remote root to the local root. | COMMENT |
| LOW⚡ | fdbserver/core/BulkLoadUtil.cpp | 310 | // Step 2: Download remote file set to local folder | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.cpp | 5396 | // Step 1: Create machineLocalityMap which will be used in building machine team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.cpp | 5401 | // Step 2: Get least used machines from which we choose machines as a machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 245 | // Step 1: find all valid teams from team collection | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 288 | // Step 2: Conduct Power-of-D-Choice to select a team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5436 | // Step 3: Create a representative process for each machine. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5460 | // Step 4: Reuse Policy's selectReplicas() to create team for the representative process. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5507 | // Step 5: Restore machine from its representative process team and get the machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5857 | // Step 1: Choose 1 least used server and then choose 1 least used machine team from the server | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5879 | // Step 2: Randomly pick 1 server from each machine in the chosen machine team to form a server team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5943 | // Step 4: Add the server team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1393 | // Step 2: submit the task to in-memory task map, which (1) turns off shard boundary change; | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1399 | // Step 3: create bulk load shard and trigger data move and wait for task completion | COMMENT |
| 35 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | fdbserver/clustercontroller/ClusterController.cpp | 2575 | it.second.details.interf.locality.dcId(), self->changingDcIds.get().second.get()); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.cpp | 2640 | it.second.details.interf.locality.dcId(), self->changedDcIds.get().second.get()); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.cpp | 3256 | req.broadcastInfo.push_back(it.second.details.interf.updateServerDBInfo.getEndpoint()); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.cpp | 3538 | it.second.details.interf.coordinationPing.send(message); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 323 | .detail("NotExcludedMachine", !excludedMachines.contains(it.second.details.interf.locality.zoneId())) | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 325 | (includeDCs.empty() || includeDCs.contains(it.second.details.interf.locality.dcId()))) | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 336 | !excludedMachines.contains(it.second.details.interf.locality.zoneId()) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 337 | (includeDCs.empty() || includeDCs.contains(it.second.details.interf.locality.dcId())) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 354 | !excludedMachines.contains(it.second.details.interf.locality.zoneId()) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 355 | (includeDCs.empty() || includeDCs.contains(it.second.details.interf.locality.dcId())) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 386 | (!dcId.present() || it.second.details.interf.locality.dcId() == dcId.get())) { | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1488 | it.second.details.interf.locality.dcId() != clusterControllerDcId) { | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1512 | it.second.details.interf.locality.dcId() == dcId) { | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1572 | it.second.details.interf.locality.dcId() == dcId && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1709 | result.insert(it.second.details.interf.locality.dcId()); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 92 | // Step 1: Calculate target size and required padding | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 100 | // Step 2: Build the footer | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 108 | // Step 3: Assemble the final serialized checkpoint | COMMENT |
| LOW | fdbclient/StorageCheckpoint.cpp | 134 | // Step 1: Extract footer and parse padding size | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 145 | // Step 2: Calculate original payload size | COMMENT |
| LOW⚡ | fdbclient/StorageCheckpoint.cpp | 150 | // Step 3: Extract and return the original payload | COMMENT |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 605 | # Step 1: add new servers | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 622 | # Step 2: change coordinators | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 635 | # Step 3: exclude old servers from the cluster, i.e. move out their data | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 644 | # Step 4: remove the old servers | STRING |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 286 | # Step 1: Restore with prefix using traditional rangefile mode (keep the data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 294 | # Step 2: Clear normalKeys (original data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 301 | # Step 3: Restore to normalKeys | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 319 | # Step 4: Run audit to compare BulkLoad-restored (normalKeys) vs traditional-restored (prefix) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 328 | # Step 5: Clean up the prefixed validation data | COMMENT |
| LOW | contrib/joshua_logtool.py | 123 | # Step 1: Find log files | COMMENT |
| LOW⚡ | contrib/joshua_logtool.py | 224 | # Step 2: Determine ensemble ID | COMMENT |
| LOW | contrib/joshua_logtool.py | 236 | # Step 3: Create tar archive | COMMENT |
| LOW | contrib/joshua_logtool.py | 253 | # Step 4: Upload to FDB | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 947 | # Step 1: Get serverList entries from FDB | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1034 | # Step 3: Compare | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1273 | # Step 4: Try to match by first 8 bytes (fdbcli only shows first half of UID) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1015 | # Step 2: Get running storage servers from fdbcli status | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1312 | # Step 5: Try to match by address (only if prefix match failed) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1360 | # Step 6: Scan serverKeys to find full UIDs | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2561 | # Step 1: Build map from keyServers - what ranges are assigned to which servers | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2586 | # Step 2: Build map from serverKeys - what ranges each server claims | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2622 | # Step 3: Compare - for each keyServers range, check serverKeys agrees | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2704 | # Step 1: Build complete map of what each server claims to own from serverKeys | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2742 | # Step 2: For each keyServers range, check that all listed servers claim it | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2807 | # Step 3: Find orphan serverKeys - servers that claim ranges but aren't in keyServers | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 4569 | 2. We need to check if ANY server has the shard before removing | STRING |
| LOW | fdbserver/storageserver/storageserver.cpp | 8428 | // Step 1: Download files to localRoot | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8468 | // Step 2: Do byte sampling locally if the remote byte sampling file is not valid nor existing | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8491 | // Step 3: Build LocalRecord used by ShardedRocksDB KVStore when injecting data | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 8533 | // Step 4: Update the moveInShard phase | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 72 | // Step 1: Clean up local folder | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 75 | // Step 2: Dump data to file | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 85 | // Step 3: Dump sample to file | COMMENT |
| LOW⚡ | fdbserver/checkpoint/BulkSstFiles.cpp | 94 | // Step 4: Generate manifest file | COMMENT |
| LOW | fdbserver/core/BackupPartitionMap.cpp | 50 | // Step 1: Collect shard sizes | COMMENT |
| LOW | fdbserver/core/BackupPartitionMap.cpp | 76 | // Step 2: Partition the shards | COMMENT |
| LOW⚡ | fdbserver/core/BulkLoadUtil.cpp | 302 | // Step 1: Generate local file set based on remote file set by replacing the remote root to the local root. | COMMENT |
| LOW⚡ | fdbserver/core/BulkLoadUtil.cpp | 310 | // Step 2: Download remote file set to local folder | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.cpp | 5396 | // Step 1: Create machineLocalityMap which will be used in building machine team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.cpp | 5401 | // Step 2: Get least used machines from which we choose machines as a machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 245 | // Step 1: find all valid teams from team collection | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 288 | // Step 2: Conduct Power-of-D-Choice to select a team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5436 | // Step 3: Create a representative process for each machine. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5460 | // Step 4: Reuse Policy's selectReplicas() to create team for the representative process. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5507 | // Step 5: Restore machine from its representative process team and get the machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5857 | // Step 1: Choose 1 least used server and then choose 1 least used machine team from the server | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5879 | // Step 2: Randomly pick 1 server from each machine in the chosen machine team to form a server team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.cpp | 5943 | // Step 4: Add the server team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1393 | // Step 2: submit the task to in-memory task map, which (1) turns off shard boundary change; | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1399 | // Step 3: create bulk load shard and trigger data move and wait for task completion | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1954 | // Step 1: Get manifest metadata by downloading the manifest file | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1959 | // Step 2: Check if the task has been created | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1969 | // Step 3: Trigger bulkload task which is handled by bulkload task engine | COMMENT |
| LOW | fdbserver/datadistributor/DataDistribution.cpp | 1379 | // Step 1: persist bulk load task phase as triggered | COMMENT |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/make_public.py | 44 | except Exception as e: | CODE |
| LOW | packaging/docker/sidecar.py | 505 | except Exception as ex: | CODE |
| LOW | packaging/docker/sidecar.py | 538 | except Exception as ex: | CODE |
| LOW | tests/TestRunner/fdb_test_runner/binary_download.py | 115 | except Exception as e: | CODE |
| LOW | tests/TestRunner/fdb_test_runner/upgrade_test.py | 254 | except Exception: | CODE |
| LOW | tests/TestRunner/fdb_test_runner/upgrade_test.py | 290 | except Exception as e: | CODE |
| MEDIUM | tests/TestRunner/fdb_test_runner/upgrade_test.py | 291 | print("Error while reading output pipe", e) | CODE |
| LOW | tests/TestRunner/fdb_test_runner/upgrade_test.py | 328 | except Exception: | CODE |
| LOW | tests/TestRunner/fdb_test_runner/upgrade_test.py | 347 | except Exception: | CODE |
| MEDIUM | tests/TestRunner/fdb_test_runner/upgrade_test.py | 280 | def output_pipe_reader(self): | CODE |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 72 | except Exception: | CODE |
| LOW | tests/TestRunner/fdb_test_runner/TestRunner.py | 181 | except Exception as e: | CODE |
| MEDIUM | tests/TestRunner/fdb_test_runner/TestRunner.py | 178 | def process_line(self, line, linenr): | CODE |
| LOW | tests/python_tests/__init__.py | 123 | except Exception: | CODE |
| MEDIUM | tests/python_tests/python_correctness.py | 137 | def run_test(self): | CODE |
| MEDIUM | tests/python_tests/python_correctness.py | 197 | def test_callback(self, future): | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 229 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 239 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 246 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 256 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 264 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 271 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 278 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 287 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 294 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 303 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 310 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 317 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 326 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 333 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 362 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 369 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 376 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 436 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 443 | except Exception: | CODE |
| LOW⚡ | tests/python_tests/python_correctness.py | 451 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 142 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 155 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 202 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 216 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 351 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 388 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 402 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 419 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 463 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 476 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 486 | except Exception: | CODE |
| LOW | tests/python_tests/python_correctness.py | 651 | except Exception: | CODE |
| LOW | tests/python_tests/ryw_benchmark.py | 57 | except Exception: | CODE |
| LOW | tests/python_tests/ryw_benchmark.py | 65 | except Exception: | CODE |
| LOW | tests/python_tests/ryw_benchmark.py | 105 | except Exception: | CODE |
| MEDIUM | tests/python_tests/ryw_benchmark.py | 52 | def run_test(self): | CODE |
| LOW | tests/python_tests/python_performance.py | 69 | except Exception: | CODE |
| LOW | tests/python_tests/python_performance.py | 77 | except Exception: | CODE |
| LOW | tests/python_tests/python_performance.py | 151 | except Exception: | CODE |
| MEDIUM | tests/python_tests/python_performance.py | 64 | def run_test(self): | CODE |
| MEDIUM | contrib/prx.py | 26 | print(f"Error running subprocess [{' '.join(command)}]:\n{output}", file=sys.stderr) | CODE |
| LOW | contrib/joshua_logtool.py | 161 | except Exception as e: | CODE |
| LOW⚡ | contrib/joshua_logtool.py | 217 | except Exception as e: | CODE |
| LOW | contrib/joshua_logtool.py | 269 | except Exception as e: | CODE |
| 83 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/TestRunner/fdb_test_runner/tmp_cluster.py | 58 | except FileNotFoundError: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/tmp_cluster.py | 66 | except FileNotFoundError: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/local_cluster.py | 72 | except Exception: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/local_cluster.py | 723 | except ET.ParseError: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/TestRunner.py | 30 | except OSError: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/TestRunner.py | 493 | except FileNotFoundError: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/fake_cluster.py | 30 | except FileNotFoundError: | CODE |
| HIGH | tests/TestRunner/fdb_test_runner/fake_cluster.py | 36 | except FileNotFoundError: | CODE |
| HIGH | contrib/mako_ab_memtracker.py | 179 | except OSError: | CODE |
| HIGH | contrib/mako_ab_memtracker.py | 224 | except OSError: | CODE |
| HIGH | contrib/prx.py | 177 | except subprocess.CalledProcessError: | CODE |
| HIGH | …n_profiling_analyzer/transaction_profiling_analyzer.py | 826 | except fdb.FDBError: | CODE |
| HIGH | contrib/metadata_audit/check_krm_corruption.py | 995 | except: | CODE |
| HIGH | contrib/metadata_audit/check_krm_corruption.py | 1012 | except: | CODE |
| HIGH | contrib/metadata_audit/check_krm_corruption.py | 3801 | except: | CODE |
| HIGH | contrib/metadata_audit/check_krm_corruption.py | 2911 | except: | CODE |
| HIGH | contrib/metadata_audit/check_krm_corruption.py | 3657 | except: | CODE |
| HIGH | contrib/metadata_audit/check_krm_corruption.py | 4602 | except: | CODE |
| HIGH | contrib/metadata_audit/fdb/__init__.py | 138 | except TypeError: | CODE |
| HIGH | contrib/metadata_audit/fdb/impl.py | 1065 | except Exception: | CODE |
| HIGH | contrib/metadata_audit/fdb/impl.py | 753 | except Exception: | CODE |
| HIGH | contrib/TestHarness2/analyze_determinism_failure.py | 101 | except (ValueError, TypeError): | CODE |
| HIGH | contrib/TestHarness2/test_harness/summarize.py | 84 | except OSError: | CODE |
| HIGH | contrib/TestHarness2/test_harness/summarize.py | 642 | except ValueError: | CODE |
| HIGH | contrib/Implib.so/implib-gen.py | 44 | except KeyError: | CODE |
| HIGH | bindings/python/fdb/__init__.py | 145 | except TypeError: | CODE |
| HIGH | bindings/python/fdb/impl.py | 1158 | except Exception: | CODE |
| HIGH | bindings/python/fdb/impl.py | 770 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packaging/docker/sidecar.py | 419 | CODE | |
| LOW | packaging/docker/sidecar.py | 480 | CODE | |
| LOW | packaging/docker/sidecar.py | 509 | CODE | |
| LOW | documentation/sphinx/extensions/rubydomain.py | 114 | CODE | |
| LOW | documentation/sphinx/extensions/rubydomain.py | 355 | CODE | |
| LOW | documentation/sphinx/extensions/rubydomain.py | 499 | CODE | |
| LOW | documentation/sphinx/extensions/rubydomain.py | 619 | CODE | |
| LOW | layers/compressedColumn/compressedColumn.py | 58 | CODE | |
| LOW | layers/compressedColumn/compressedColumn.py | 103 | CODE | |
| LOW | layers/compressedColumn/compressedColumn.py | 195 | CODE | |
| LOW | layers/containers/treap.py | 81 | CODE | |
| LOW | fdbrpc/tests/networktest_smoke.py | 35 | CODE | |
| LOW | fdbclient/vexillographer/vexillographer.py | 176 | CODE | |
| LOW | tests/TestRunner/fdb_test_runner/tmp_cluster.py | 70 | CODE | |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 707 | CODE | |
| LOW | contrib/ctest_to_joshua.py | 32 | CODE | |
| LOW | contrib/commit_debug.py | 103 | CODE | |
| LOW | contrib/commit_debug.py | 62 | CODE | |
| LOW | contrib/mako_ab_memtracker.py | 161 | CODE | |
| LOW | contrib/mako_ab_memtracker.py | 184 | CODE | |
| LOW | contrib/mako_ab_memtracker.py | 258 | CODE | |
| LOW | contrib/convert.py | 39 | CODE | |
| LOW | contrib/inline_fdb_backtraces.py | 11 | CODE | |
| LOW | contrib/apiversioner.py | 125 | CODE | |
| LOW | contrib/apiversioner.py | 198 | CODE | |
| LOW | contrib/apiversioner.py | 286 | CODE | |
| LOW | contrib/joshua_logtool.py | 107 | CODE | |
| LOW | contrib/joshua_logtool.py | 367 | CODE | |
| LOW | contrib/lint.py | 187 | CODE | |
| LOW | contrib/pkg_tester/test_fdb_pkgs.py | 205 | CODE | |
| LOW | contrib/grv_proxy_model/grv_test.py | 66 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 940 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 321 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 501 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 808 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 838 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 1150 | CODE | |
| LOW | …iling_analyzer/transaction_profiling_analyzer_tests.py | 113 | CODE | |
| LOW | contrib/local_cluster/binding_test.py | 279 | CODE | |
| LOW | contrib/local_cluster/lib/fdb_process.py | 163 | CODE | |
| LOW | contrib/metadata_audit/repair_coalesce.py | 247 | CODE | |
| LOW | contrib/metadata_audit/restore_metadata.py | 173 | CODE | |
| LOW | contrib/metadata_audit/restore_metadata.py | 279 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 133 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 355 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 553 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 614 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 823 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 917 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1469 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1721 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1913 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2317 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2431 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2550 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2683 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2856 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2959 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 3127 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 3221 | CODE | |
| 80 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | layers/containers/vector.py | 364 | # Check if the new end of the vector was being sparsely represented | COMMENT |
| LOW | layers/containers/highcontention/queue.py | 231 | # Check if there are other people waiting to be popped. If so, we | COMMENT |
| LOW | fdbclient/tests/mocks3_fixture.sh | 109 | # Check if the process is still running | COMMENT |
| LOW | fdbclient/tests/mocks3_fixture.sh | 174 | # Check if process exists before trying to kill | COMMENT |
| LOW | fdbclient/tests/mocks3_fixture.sh | 195 | # Check if it survived kill -9 (should be impossible) | COMMENT |
| LOW | fdbclient/tests/tests_common.sh | 137 | # Check if test data should be preserved (PRESERVE_TEST_DATA=1) | COMMENT |
| LOW | fdbclient/tests/fdb_cluster_fixture.sh | 24 | # Check if we're taking too long | COMMENT |
| LOW | fdbclient/tests/s3client_test.sh | 18 | # Check if test data should be preserved (common function from tests_common.sh) | COMMENT |
| LOW | fdbclient/tests/s3client_test.sh | 247 | # Check if command succeeded and output matches expected patterns | COMMENT |
| LOW | fdbclient/tests/bulkload_test.sh | 27 | # Check if test data should be preserved (common function from tests_common.sh) | COMMENT |
| LOW⚡ | fdbclient/tests/aws_fixture.sh | 153 | # Check if curl is installed | COMMENT |
| LOW⚡ | fdbclient/tests/aws_fixture.sh | 158 | # Check if curl is installed | COMMENT |
| LOW⚡ | fdbclient/tests/aws_fixture.sh | 163 | # Check if jq is installed. | COMMENT |
| LOW | tests/TestRunner/fdb_test_runner/binary_download.py | 60 | # Check if the binaries for the given version are available in the local old binaries repository | COMMENT |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 573 | # Check if the cluster file was successfully updated too | STRING |
| LOW | fdbbackup/tests/backup_tests_common.sh | 194 | # Check if backup is restorable (differential state) or completed | COMMENT |
| LOW | fdbbackup/tests/backup_tests_common.sh | 250 | # Check if BulkDump snapshot exists (look for bulkDumpJobId in describe output) | COMMENT |
| LOW | fdbbackup/tests/backup_tests_common.sh | 267 | # Check if backup already completed (no need to discontinue) | COMMENT |
| LOW | fdbbackup/tests/backup_tests_common.sh | 344 | # Check if restore completed | COMMENT |
| LOW | fdbbackup/tests/backup_tests_common.sh | 352 | # Check if restore failed (be specific - "LastError: None" contains "Error" so avoid false positives) | COMMENT |
| LOW | fdbbackup/tests/blob_backup_restore_test.sh | 32 | # Check if test data should be preserved (common function from tests_common.sh) | COMMENT |
| LOW | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 52 | # Check if test data should be preserved (common function from tests_common.sh) | COMMENT |
| LOW | contrib/joshua_logtool.py | 151 | # Check if we should include app logs from the log directory itself | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1042 | # Check if mismatch is due to UID length difference (8 vs 16 bytes) | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1047 | # Print results | COMMENT |
| LOW⚡ | contrib/metadata_audit/check_krm_corruption.py | 1283 | # Check if running UIDs (8 bytes) match the first 8 bytes of serverList UIDs | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 157 | # Check if this looks like a versioned value (starts with 0x0FDB...) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 162 | # Check if it's a valid FDB protocol version (starts with 0x0FDB00...) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 299 | # Check if this version supports shard metadata | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1154 | # Check if 4 bytes before could be an IP | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1156 | # Check if it looks like a valid private/CGNAT IP | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1400 | # Check if any serverKeys UIDs match running servers (by 8-byte prefix) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1444 | # Check if serverKeys UIDs match serverList UIDs | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1580 | # Check if expected server is in the list | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2376 | # Check if this is a blog shard | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2425 | # Check if keyServers is completely empty | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2475 | # Check if server exists | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2496 | # Check if it's a blog range | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2502 | # Check if this spans the full keyspace (very wrong!) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2544 | # Check if same as previous | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2646 | # Check if any of this server's ranges overlap with [start_key, end_key) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2773 | # Check if this server claims to own this range in serverKeys | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 2784 | # Check if any of the server's ranges overlap with [prev_key, user_key) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 3013 | # Check if it's a blog shard (\xff\x02) | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 4060 | # Check if this server is in the keyServers entry | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 4077 | # Check if this server is missing THIS specific range | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 5344 | # Check if orphan ranges cover the keyspace | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 5466 | # Check if stale serverKeys entries will cause wrong_shard_server | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 5479 | # Check if stale serverKeys entries will cause wrong_shard_server | COMMENT |
| LOW | contrib/TestHarness2/analyze_determinism_failure.py | 327 | # Check if Run 2 has roughly 2x the events | COMMENT |
| LOW | contrib/TestHarness2/test_harness/run.py | 657 | # Check if we're running with an old binary (restarting test with non-current binary) | COMMENT |
| LOW | contrib/TestHarness2/test_harness/run.py | 802 | # Check if we need to look for config in trace files | COMMENT |
| LOW | contrib/TestHarness2/test_harness/run.py | 1127 | # Check if we should preserve logs on failure | COMMENT |
| LOW | contrib/Joshua/scripts/correctnessTest.sh | 156 | # Check if test failed by parsing XML output | COMMENT |
| LOW | contrib/Joshua/scripts/correctnessTest.sh | 280 | # Check if stdout file is empty and generate fallback if needed | COMMENT |
| LOW | contrib/Joshua/scripts/correctnessTest.sh | 299 | # Check if test actually failed | COMMENT |
| LOW | contrib/Joshua/scripts/localClusterStart.sh | 106 | # Display message | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packaging/docker/kubernetes/test_config.yaml | 20 | # This file provides an example of using a statefulset to launch FDB processes | COMMENT |
| MEDIUM | documentation/sphinx/conf.py | 5 | # This file is execfile()d with the current directory set to its containing dir. | COMMENT |
| MEDIUM | layers/compressedColumn/compressedColumn.py | 194 | # This function is not fully transactional. Each compressed block will be created in a transaction | COMMENT |
| MEDIUM | layers/pubsub/pubsub_example.py | 46 | # Create the specified numbers of feeds and inboxes. Subscribe each inbox to a | COMMENT |
| MEDIUM | layers/pubsub/ps_tutorial.py | 53 | # Create a single feed (for Alice) | COMMENT |
| MEDIUM | layers/pubsub/ps_tutorial.py | 56 | # Create an inbox for Bob | COMMENT |
| MEDIUM | layers/pubsub/pubsub.py | 239 | # Create the specified numbers of feeds and inboxes. Subscribe each inbox to a | COMMENT |
| MEDIUM | fdbclient/ClusterConnectionFile.cpp | 155 | "# DO NOT EDIT!\n# This file is auto-generated, it is not to be edited by hand\n" + | CODE |
| MEDIUM | fdbclient/include/fdbclient/SimpleIni.h | 50 | -# Define the appropriate symbol for the converter you wish to use and | CODE |
| MEDIUM | fdbclient/tests/tests_common.sh | 28 | # Create a more robust watchdog that tries multiple kill strategies | COMMENT |
| MEDIUM | fdbclient/tests/s3client_test.sh | 40 | # This function handles the case where TLS_CA_FILE might be empty | COMMENT |
| MEDIUM | fdbclient/tests/s3client_test.sh | 850 | # Create an empty blob credentials file (MockS3Server uses simple auth) | COMMENT |
| MEDIUM | tests/TestRunner/fdb_test_runner/upgrade_test.py | 109 | # Create a directory for external client libraries for MVC and fill it | COMMENT |
| MEDIUM | contrib/Joshua/scripts/localClusterStart.sh | 17 | # Initialize the variables | COMMENT |
| MEDIUM | contrib/Joshua/scripts/localClusterStart.sh | 28 | # Define a random ip address and port on localhost | COMMENT |
| MEDIUM | contrib/Joshua/scripts/localClusterStart.sh | 118 | # Create the directories used by the server. | COMMENT |
| MEDIUM | contrib/Joshua/scripts/localClusterStart.sh | 166 | # Create a cluster file for the local cluster. | COMMENT |
| MEDIUM | bindings/bindingtester/run_binding_tester.sh | 92 | # Create the file, if not present | COMMENT |
| MEDIUM | bindings/bindingtester/run_binding_tester.sh | 242 | # Initialize the variables | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | contrib/mako_ab_memtracker.py | 311 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | contrib/mako_ab_memtracker.py | 313 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | contrib/mako_ab_binaries.py | 104 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | contrib/metadata_audit/check_krm_corruption.py | 2821 | # ============================================================================= | COMMENT |
| MEDIUM | contrib/metadata_audit/check_krm_corruption.py | 2823 | # ============================================================================= | COMMENT |
| MEDIUM | contrib/metadata_audit/check_krm_corruption.py | 2843 | # ============================================================================= | COMMENT |
| MEDIUM | contrib/metadata_audit/check_krm_corruption.py | 5490 | # ================================================================ | COMMENT |
| MEDIUM | contrib/metadata_audit/check_krm_corruption.py | 5492 | # ================================================================ | COMMENT |
| MEDIUM⚡ | bindings/c/test/fdb_c_client_config_tests.py | 180 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | bindings/c/test/fdb_c_client_config_tests.py | 182 | # ---------------------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 131 | # ---------------------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 133 | # ---------------------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 265 | # ---------------------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 267 | # ---------------------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 819 | # --------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 821 | # --------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | fdbrpc/FlowTransport.cpp | 84 | // Certainly this applies to FDB messages. So we should refer to FDB | COMMENT |
| MEDIUM | fdbclient/RESTClient.h | 67 | // RESTConnectionPool is used to leverage cached connection if any for 'host:service' pair. API then leverage | COMMENT |
| MEDIUM | fdbclient/StorageServerInterface.cpp | 24 | // Fundamentally it is just about comparing replies. Where they came from is incidental. | COMMENT |
| MEDIUM | fdbclient/tests/tests_common.sh | 28 | # Create a more robust watchdog that tries multiple kill strategies | COMMENT |
| MEDIUM | contrib/mako_ab_memtracker.py | 147 | # this harness runs its data dir) does not support direct I/O, so the | COMMENT |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 1566 | # Simple midpoint - just use start key + a byte | COMMENT |
| LOW | contrib/metadata_audit/fdb/tuple.py | 615 | # Booleans, UUIDs, integers, and Versionstamps can just use standard comparison. | COMMENT |
| MEDIUM | contrib/stacktrace/stacktrace.amalgamation.cpp | 412 | // are not defined as such in any file). To utilize the following | COMMENT |
| MEDIUM⚡ | contrib/rapidxml/manual.html | 90 | Note that RapidXml performs no decoding - strings returned by name() and value() functions will contain text encoded us | CODE |
| MEDIUM⚡ | contrib/rapidxml/manual.html | 90 | Note that RapidXml performs no decoding - strings returned by name() and value() functions will contain text encoded us | CODE |
| MEDIUM⚡ | contrib/rapidxml/manual.html | 90 | Note that RapidXml performs no decoding - strings returned by name() and value() functions will contain text encoded us | CODE |
| MEDIUM | contrib/Joshua/scripts/correctnessTest.sh | 267 | # Execute Python test harness | COMMENT |
| LOW | bindings/python/fdb/tuple.py | 615 | # Booleans, UUIDs, integers, and Versionstamps can just use standard comparison. | COMMENT |
| MEDIUM | fdbserver/core/QuietDatabase.cpp | 200 | // This is not robust in the face of a TLog failure | COMMENT |
| MEDIUM | …core/include/fdbserver/core/AccumulativeChecksumUtil.h | 82 | uint16_t acsIndex; // Essentially, this is the ID of commit proxy | CODE |
| MEDIUM | fdbserver/datadistributor/DDTeamCollection.cpp | 2474 | // utilize the disk of other active SS | COMMENT |
| MEDIUM | fdbserver/workloads/S3ClientWorkload.cpp | 112 | // Uses S3BlobStoreEndpoint::fromString() for robust URL parsing (similar to | COMMENT |
| MEDIUM | flow/include/flow/ThreadHelper.h | 923 | // implementation for memory management error handling though. Essentially a future that's returned from a synchronous | COMMENT |
| MEDIUM | flow/include/flow/WipedString.h | 83 | // NOTE: This class intentionally diverged from Standalone<StringRef> for more robust preservation of | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1199 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1206 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1240 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1248 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1256 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1264 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1272 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1280 | CODE | |
| MEDIUM | contrib/metadata_audit/fdb/impl.py | 1288 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1292 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1299 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1333 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1341 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1349 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1357 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1365 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1373 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1381 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | contrib/metadata_audit/fdb/locality.py | 0 | documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html | STRING |
| HIGH | contrib/metadata_audit/fdb/__init__.py | 0 | documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html | STRING |
| HIGH | bindings/python/fdb/locality.py | 0 | documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html | STRING |
| HIGH | bindings/python/fdb/__init__.py | 0 | documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | design/data-distributor-internals.md | 191 | # Alternative View -- AI-generated for FDB 7.3 | COMMENT |
| HIGH | design/AI-generated/README.md | 1 | # AI-generated FDB code overview | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | layers/taskbucket/__init__.py | 26 | CODE | |
| LOW | contrib/mako_ab_memtracker.py | 52 | CODE | |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 632 | CODE | |
| LOW | contrib/TestHarness2/test_harness/run.py | 1 | CODE | |
| LOW | contrib/TestHarness2/test_harness/config.py | 1 | CODE | |
| LOW | contrib/TestHarness2/test_harness/results.py | 13 | CODE | |
| LOW | contrib/TestHarness2/test_harness/summarize.py | 1 | CODE | |
| LOW | contrib/TestHarness2/test_harness/fdb.py | 1 | CODE | |
| LOW | contrib/TestHarness2/test_harness/joshua.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fdbrpc/include/fdbrpc/FlowGrpc.h | 92 | // ## Usage: | COMMENT |
| LOW | fdbclient/tests/mocks3_fixture.sh | 6 | # Usage: | COMMENT |
| LOW | fdbbackup/tests/blob_backup_restore_test.sh | 16 | # Usage: | COMMENT |
| LOW | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 42 | # Usage: | COMMENT |
| LOW | contrib/metadata_audit/metadata-audit.sh | 8 | # Usage: | COMMENT |
| LOW | contrib/stacktrace/stacktrace.amalgamation.cpp | 246 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | design/data-distributor-internals.md | 869 | coordinated phases. The [`moveKeys()`](https://github.com/apple/foundationdb/blob/release-7.3/fdbserver/MoveKeys.actor.c | CODE |
| MEDIUM | design/data-distributor-internals.md | 1045 | Wrapping the protocol above, [`moveKeys()`](https://github.com/apple/foundationdb/blob/release-7.3/fdbserver/MoveKeys.ac | CODE |
| MEDIUM | contrib/Joshua/scripts/correctnessTest.sh | 26 | # It handles test orchestration, cleanup, and environment setup for running | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/joshua_logtool.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | contrib/local_cluster/local_cluster.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | contrib/local_cluster/lib/work_directory.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | contrib/local_cluster/lib/fdb_process.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | contrib/local_cluster/lib/local_cluster.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | contrib/local_cluster/lib/process.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | contrib/local_cluster/lib/cluster_file.py | 9 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fdbclient/include/fdbclient/SpecialKeySpace.h | 42 | // TODO: implement the range reading in a loop so that the underlying implementation | COMMENT |
| LOW | fdbmonitor/fdbmonitor_lib.cpp | 423 | // TODO: implement for non-linux | COMMENT |
| LOW | fdbserver/storageserver/storageserver.cpp | 2835 | // TODO: Handle errors more gracefully. | COMMENT |
| LOW | flow/flow.cpp | 355 | // TODO: implement ifdef branch for 3.x using provider API | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | documentation/CMakeLists.txt | 93 | set(username "dummy_user") | CODE |
| LOW | documentation/CMakeLists.txt | 99 | set(username "dummy_user") | CODE |
| LOW | bindings/go/godoc-resources/godocs.js | 48 | search.val(search.attr('placeholder')); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 139 | CODE | |
| LOW | contrib/TestHarness2/test_harness/summarize.py | 315 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | fdbrpc/FlowTransport.cpp | 2657 | // with a few reliable ones. Don't forget to delref the new PacketBuffers since they are unsent. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | layers/taskbucket/__init__.py | 419 | def perform_action(self, tr, taskDict): | CODE |