FoundationDB - the open source, distributed, transactional key-value store
This report presents the forensic synthetic code analysis of apple/foundationdb, a C++ project with 16,505 GitHub stars. SynthScan v2.0 examined 696,831 lines of code across 2235 source files, recording 2162 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 2162 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | // ... elsewhere, someone will call p.send(42) | COMMENT |
| LOW | design/fdb-coroutines-internals.md | 481 | // The send fires callbacks synchronously on that call stack.) | COMMENT |
| LOW | documentation/tutorial/play.actor.cpp | 21 | #include "fdbclient/NativeAPI.actor.h" | COMMENT |
| LOW | documentation/tutorial/play_network.actor.cpp | 21 | #include "fdbclient/NativeAPI.actor.h" | COMMENT |
| LOW | documentation/tutorial/play_network.actor.cpp | 41 | /// Usage below | COMMENT |
| LOW | documentation/tutorial/print_in_order.actor.cpp | 21 | #include "fmt/format.h" | COMMENT |
| LOW | documentation/tutorial/make_h2o.actor.cpp | 21 | #include "fmt/format.h" | COMMENT |
| LOW | documentation/tutorial/make_h2o.actor.cpp | 41 | // this file other than main(), read the problem description above, | COMMENT |
| LOW | documentation/tutorial/dining_philosophers.actor.cpp | 21 | #include "fmt/format.h" | COMMENT |
| LOW | documentation/tutorial/tutorial.actor.cpp | 21 | COMMENT | |
| LOW | documentation/sphinx/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | documentation/sphinx/conf.py | 81 | COMMENT | |
| LOW | documentation/sphinx/conf.py | 101 | # add_function_parentheses = True | COMMENT |
| LOW | documentation/sphinx/conf.py | 141 | # The name of an image file (relative to this directory) to place at the top | COMMENT |
| LOW | documentation/sphinx/conf.py | 221 | ] | 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/actorFuzz.py | 1 | # | COMMENT |
| LOW | fdbrpc/Base64Decode.h | 21 | #ifndef BASE64_DECODE_H | COMMENT |
| 1189 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 |
| 9 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 | 599 | # Step 1: add new servers | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 616 | # Step 2: change coordinators | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 629 | # Step 3: exclude old servers from the cluster, i.e. move out their data | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 638 | # Step 4: remove the old servers | STRING |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 268 | # Step 1: Restore with prefix using traditional rangefile mode (keep the data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 276 | # Step 2: Clear normalKeys (original data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 283 | # Step 3: Restore to normalKeys | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 301 | # Step 4: Run audit to compare BulkLoad-restored (normalKeys) vs traditional-restored (prefix) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 310 | # 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 | 12 | ### Step 1: Generate TLS Certificates | COMMENT |
| LOW | contrib/mtlsbenchmark/readme.md | 23 | ### Step 2: Configure Test in Scripts | COMMENT |
| LOW | contrib/mtlsbenchmark/readme.md | 46 | ### Step 3: Start the Server and Client(s) | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7688 | // Step 1: Download files to localRoot | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7728 | // Step 2: Do byte sampling locally if the remote byte sampling file is not valid nor existing | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7751 | // Step 3: Build LocalRecord used by ShardedRocksDB KVStore when injecting data | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7793 | // Step 4: Update the moveInShard phase | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 122 | // Step 1: Clean up local folder | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 125 | // Step 2: Dump data to file | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 135 | // Step 3: Dump sample to file | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 144 | // 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 | 369 | // 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 | 377 | // Step 2: Download remote file set to local folder | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5184 | // Step 1: Create machineLocalityMap which will be used in building machine team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5189 | // Step 2: Get least used machines from which we choose machines as a machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 245 | // Step 1: find all valid teams from team collection | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 288 | // Step 2: Conduct Power-of-D-Choice to select a team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5224 | // Step 3: Create a representative process for each machine. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5248 | // Step 4: Reuse Policy's selectReplicas() to create team for the representative process. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5295 | // Step 5: Restore machine from its representative process team and get the machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5645 | // Step 1: Choose 1 least used server and then choose 1 least used machine team from the server | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5667 | // Step 2: Randomly pick 1 server from each machine in the chosen machine team to form a server team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5731 | // Step 4: Add the server team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1355 | // Step 2: submit the task to in-memory task map, which (1) turns off shard boundary change; | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1361 | // 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 |
|---|---|---|---|---|
| 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 |
| 86 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 | 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 | 556 | 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/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 |
| LOW | …n_profiling_analyzer/transaction_profiling_analyzer.py | 523 | def build_client_transaction_info(v): | CODE |
| LOW | …iling_analyzer/transaction_profiling_analyzer_tests.py | 36 | def test_two_non_overlapping_desc(self): | CODE |
| LOW | …iling_analyzer/transaction_profiling_analyzer_tests.py | 42 | def test_two_non_overlapping_asc(self): | CODE |
| LOW | contrib/local_cluster/binding_test.py | 279 | def _log_cluster_lines_with_severity( | CODE |
| 122 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 | 599 | # Step 1: add new servers | STRING |
| LOW | tests/TestRunner/fdb_test_runner/local_cluster.py | 616 | # Step 2: change coordinators | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 629 | # Step 3: exclude old servers from the cluster, i.e. move out their data | STRING |
| LOW⚡ | tests/TestRunner/fdb_test_runner/local_cluster.py | 638 | # Step 4: remove the old servers | STRING |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 268 | # Step 1: Restore with prefix using traditional rangefile mode (keep the data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 276 | # Step 2: Clear normalKeys (original data) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 283 | # Step 3: Restore to normalKeys | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 301 | # Step 4: Run audit to compare BulkLoad-restored (normalKeys) vs traditional-restored (prefix) | COMMENT |
| LOW⚡ | fdbbackup/tests/s3_backup_bulkdump_bulkload.sh | 310 | # 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.actor.cpp | 7688 | // Step 1: Download files to localRoot | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7728 | // Step 2: Do byte sampling locally if the remote byte sampling file is not valid nor existing | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7751 | // Step 3: Build LocalRecord used by ShardedRocksDB KVStore when injecting data | COMMENT |
| LOW | fdbserver/storageserver/storageserver.actor.cpp | 7793 | // Step 4: Update the moveInShard phase | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 122 | // Step 1: Clean up local folder | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 125 | // Step 2: Dump data to file | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 135 | // Step 3: Dump sample to file | COMMENT |
| LOW⚡ | fdbserver/core/BulkDumpUtil.cpp | 144 | // 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 | 369 | // 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 | 377 | // Step 2: Download remote file set to local folder | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5184 | // Step 1: Create machineLocalityMap which will be used in building machine team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5189 | // Step 2: Get least used machines from which we choose machines as a machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 245 | // Step 1: find all valid teams from team collection | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 288 | // Step 2: Conduct Power-of-D-Choice to select a team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5224 | // Step 3: Create a representative process for each machine. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5248 | // Step 4: Reuse Policy's selectReplicas() to create team for the representative process. | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5295 | // Step 5: Restore machine from its representative process team and get the machine team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5645 | // Step 1: Choose 1 least used server and then choose 1 least used machine team from the server | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5667 | // Step 2: Randomly pick 1 server from each machine in the chosen machine team to form a server team | COMMENT |
| LOW | fdbserver/datadistributor/DDTeamCollection.actor.cpp | 5731 | // Step 4: Add the server team | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1355 | // Step 2: submit the task to in-memory task map, which (1) turns off shard boundary change; | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1361 | // Step 3: create bulk load shard and trigger data move and wait for task completion | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1806 | // Step 1: Get manifest metadata by downloading the manifest file | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1811 | // Step 2: Check if the task has been created | COMMENT |
| LOW⚡ | fdbserver/datadistributor/DataDistribution.cpp | 1820 | // Step 3: Trigger bulkload task which is handled by bulkload task engine | COMMENT |
| LOW | fdbserver/datadistributor/DataDistribution.cpp | 1341 | // Step 1: persist bulk load task phase as triggered | COMMENT |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 303 | .detail("NotExcludedMachine", !excludedMachines.contains(it.second.details.interf.locality.zoneId())) | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 305 | (includeDCs.empty() || includeDCs.contains(it.second.details.interf.locality.dcId()))) | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 316 | !excludedMachines.contains(it.second.details.interf.locality.zoneId()) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 317 | (includeDCs.empty() || includeDCs.contains(it.second.details.interf.locality.dcId())) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 334 | !excludedMachines.contains(it.second.details.interf.locality.zoneId()) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 335 | (includeDCs.empty() || includeDCs.contains(it.second.details.interf.locality.dcId())) && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 366 | (!dcId.present() || it.second.details.interf.locality.dcId() == dcId.get())) { | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1455 | it.second.details.interf.locality.dcId() != clusterControllerDcId) { | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1479 | it.second.details.interf.locality.dcId() == dcId) { | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1523 | it.second.details.interf.locality.dcId() == dcId && | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.h | 1659 | result.insert(it.second.details.interf.locality.dcId()); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.actor.cpp | 2360 | it.second.details.interf.locality.dcId(), self->changingDcIds.get().second.get()); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.actor.cpp | 2420 | it.second.details.interf.locality.dcId(), | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.actor.cpp | 3037 | req.broadcastInfo.push_back(it.second.details.interf.updateServerDBInfo.getEndpoint()); | CODE |
| CRITICAL | fdbserver/clustercontroller/ClusterController.actor.cpp | 3363 | it.second.details.interf.coordinationPing.send(message); | 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/actorFuzz.py | 144 | 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 | 701 | 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/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 | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 3614 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 3894 | CODE | |
| LOW | contrib/metadata_audit/check_krm_corruption.py | 4231 | CODE | |
| 81 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 | 567 | # 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 | 276 | # Check if stdout file is empty and generate fallback if needed | COMMENT |
| LOW | contrib/Joshua/scripts/correctnessTest.sh | 295 | # 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 | fdbrpc/FlowTransport.cpp | 77 | // 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 |
| 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.actor.cpp | 2424 | // 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 | 921 | // 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/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 | 817 | # --------------- | COMMENT |
| MEDIUM | bindings/c/test/fdb_c_client_config_tests.py | 819 | # --------------- | 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 | 1199 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1206 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1240 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1248 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1256 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1264 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1272 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1280 | CODE | |
| MEDIUM | bindings/python/fdb/impl.py | 1288 | 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 | …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 | |
| LOW | flow/actorcompiler_py/parse_tree.py | 1 | CODE | |
| LOW | flow/actorcompiler_py/actor_compiler.py | 1 | CODE | |
| LOW | flow/actorcompiler_py/actor_parser.py | 1 | CODE | |
| LOW | flow/actorcompiler_py/errors.py | 1 | CODE | |
| LOW | flow/actorcompiler_py/__main__.py | 5 | 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 |
|---|---|---|---|---|
| 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 |
| LOW | flow/actorcompiler_py/parse_tree.py | 220 | def set_uncancellable(self) -> None: | CODE |
| LOW | flow/actorcompiler_py/actor_compiler.py | 51 | def set_overload(self, overload: "Function") -> None: | CODE |
| 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 | 1043 | 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 | 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.actor.cpp | 2505 | // 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 | 83 | set(username "dummy_user") | CODE |
| LOW | documentation/CMakeLists.txt | 89 | 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 | 2122 | // 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 |