The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.
120 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/get_gh_latest.py | 4 | # Define the GitHub API URL for issues and pull requests |
| MEDIUM | system_test/e2e/auto_state_s3.py | 27 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 44 | # Create a node, enable automatic backups, and start it. Then |
| MEDIUM | system_test/e2e/auto_state_s3.py | 54 | # Create a second node, with auto-restore enabled. |
| MEDIUM | system_test/e2e/auto_state_s3.py | 91 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 110 | # Create a node, enable automatic backups, and start it. Then |
| MEDIUM | system_test/e2e/auto_state_s3.py | 120 | # Create a second node, with auto-restore enabled. |
| MEDIUM | system_test/e2e/auto_state_s3.py | 174 | # Create the auto-restore config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 218 | # Create the auto-restore config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 263 | # Create the auto-restore config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 277 | # Create a new node, write some data to it. |
| MEDIUM | system_test/e2e/auto_state_s3.py | 286 | # Create a new node, using the directory from the previous node, but check |
| MEDIUM | system_test/e2e/auto_state_s3.py | 315 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 332 | # Create a node, enable automatic backups, and start it. Then |
| MEDIUM | system_test/e2e/auto_state_s3.py | 378 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 396 | # Create a node, enable automatic backups, and start it. Then |
| MEDIUM | system_test/e2e/auto_state_s3.py | 437 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 453 | # Create a node, enable automatic backups, and start it. Then |
| MEDIUM | system_test/e2e/auto_state_s3.py | 503 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 520 | # Create a cluster with automatic backups enabled. |
| MEDIUM | system_test/e2e/auto_state_s3.py | 552 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 569 | # Create a cluster with automatic backups enabled. |
| MEDIUM | system_test/e2e/auto_state_s3.py | 604 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_s3.py | 621 | # Create a cluster with automatic backups enabled. |
| MEDIUM | system_test/e2e/auto_state_s3.py | 630 | # Create a cluster with two more followers |
| MEDIUM | system_test/e2e/auto_state_file.py | 23 | # Create a temporary directory for backups |
| MEDIUM | system_test/e2e/auto_state_file.py | 26 | # Create the auto-backup config file with timestamp enabled |
| MEDIUM | system_test/e2e/auto_state_file.py | 41 | # Create a node, enable automatic backups, and start it |
| MEDIUM | system_test/e2e/auto_state_file.py | 46 | # Create a table and insert data |
| MEDIUM | system_test/e2e/auto_state_file.py | 98 | # Create a temporary directory for backups |
| MEDIUM | system_test/e2e/auto_state_file.py | 102 | # Create the auto-backup config file with timestamp disabled |
| MEDIUM | system_test/e2e/auto_state_file.py | 117 | # Create a node, enable automatic backups, and start it |
| MEDIUM | system_test/e2e/auto_state_file.py | 122 | # Create a table and insert data |
| MEDIUM | system_test/e2e/auto_state_file.py | 177 | # Create a temporary directory for backups |
| MEDIUM | system_test/e2e/auto_state_file.py | 180 | # Create the auto-backup config file with compression |
| MEDIUM | system_test/e2e/auto_state_file.py | 195 | # Create a node, enable automatic backups, and start it |
| MEDIUM | system_test/e2e/auto_state_file.py | 200 | # Create a table and insert data |
| MEDIUM | system_test/e2e/joining.py | 170 | # Create a potential join target node |
| MEDIUM | system_test/e2e/multi_node.py | 596 | # Create a two-node cluster. |
| MEDIUM | system_test/e2e/auto_state_gcs.py | 26 | # Create the auto-backup config file |
| MEDIUM | system_test/e2e/auto_state_gcs.py | 41 | # Create a node, enable automatic backups, and start it. Then |
| MEDIUM | system_test/e2e/auto_state_gcs.py | 104 | # Create the auto-restore config file |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/package/build-packages.sh | 13 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 15 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 31 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 35 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 41 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 43 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 99 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 101 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 192 | # --------------------------------------------------------------------------- |
| MEDIUM | tools/package/build-packages.sh | 194 | # --------------------------------------------------------------------------- |
| MEDIUM | system_test/e2e/gcs.py | 15 | # --------------------------------------------------------------------------- |
| MEDIUM | system_test/e2e/gcs.py | 17 | # --------------------------------------------------------------------------- |
| MEDIUM | system_test/e2e/gcs.py | 28 | # --------------------------------------------------------------------------- |
| MEDIUM | system_test/e2e/gcs.py | 30 | # --------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/get_gh_latest.py | 3 | def get_latest_issue_pr_numbers(owner, repo): |
| LOW | system_test/e2e/cdc.py | 89 | def test_multi_node_events_with_node_failure(self): |
| LOW | system_test/e2e/auto_state_s3.py | 596 | def test_no_upload_leader_change(self): |
| LOW | system_test/e2e/cdc_test_server.py | 95 | class CDCHTTPRequestHandler(BaseHTTPRequestHandler): |
| LOW | system_test/e2e/cdc_test_server.py | 302 | def get_highest_message_index(self) -> int: |
| LOW | system_test/e2e/single_node.py | 65 | def test_simple_raw_queries_unicode(self): |
| LOW | system_test/e2e/single_node.py | 81 | def test_simple_raw_queries_pretty(self): |
| LOW | system_test/e2e/single_node.py | 112 | def test_simple_parameterized_queries(self): |
| LOW | system_test/e2e/single_node.py | 133 | def test_simple_named_parameterized_queries(self): |
| LOW | system_test/e2e/single_node.py | 156 | def test_simple_parameterized_mixed_queries(self): |
| LOW | system_test/e2e/single_node.py | 172 | def test_simple_parameterized_mixed_queries_via_request(self): |
| LOW | system_test/e2e/auto_state_file.py | 17 | def test_backup_timestamp_true(self): |
| LOW | system_test/e2e/auto_state_file.py | 92 | def test_backup_timestamp_false(self): |
| LOW | system_test/e2e/auto_state_file.py | 171 | def test_backup_with_compression(self): |
| LOW | system_test/e2e/joining.py | 175 | def test_single_node_join_fails(self): |
| LOW | system_test/e2e/multi_node.py | 61 | def test_execute_fail_restart(self): |
| LOW | system_test/e2e/multi_node.py | 128 | def test_remove_node_via_leader(self): |
| LOW | system_test/e2e/multi_node.py | 142 | def test_remove_node_via_follower(self): |
| LOW | system_test/e2e/multi_node.py | 367 | def test_execute_query_forward(self): |
| LOW | system_test/e2e/multi_node.py | 387 | def test_execute_queued_forward(self): |
| LOW | system_test/e2e/multi_node.py | 415 | def test_execute_queued_forward_wait(self): |
| LOW | system_test/e2e/multi_node.py | 564 | def test_execute_fail_nonvoter(self): |
| LOW | system_test/e2e/multi_node.py | 761 | def test_cluster_leader_remove_on_shutdown(self): |
| LOW | system_test/e2e/multi_node.py | 790 | def test_cluster_follower_remove_on_shutdown(self): |
| LOW | system_test/e2e/helpers.py | 448 | def wait_for_upload_skipped_id(self, i, timeout=TIMEOUT): |
| LOW | http/console/static/js/app.js | 163 | function updateFreshnessVisibility() { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | doc.go | 1 | // The MIT License (MIT) |
| LOW | testdata/chinook/db.go | 1 | // The MIT License (MIT) |
| LOW | snapshot/sink.go | 161 | // IncrementalFile path — no data expected after header. |
| LOW | snapshot/store.go | 441 | } |
| LOW | snapshot/store.go | 461 | // |
| LOW | snapshot/observer.go | 21 | // ReapObservation events and an optional filter function. Observations |
| LOW | snapshot/snapshot.go | 61 | // timestamp). |
| LOW | snapshot/snapshot.go | 161 | // selection logic. |
| LOW | snapshot/snapshot.go | 301 | // AfterID returns a SnapshotSet containing snapshots strictly newer than the |
| LOW | snapshot/snapshot.go | 441 | return -1 |
| LOW | snapshot/staging.go | 41 | } |
| LOW | cluster/bootstrap.go | 101 | } |
| LOW | cdc/config.go | 81 | // MaxBatchDelay is the maximum delay before sending a rquest to the endpoint, regardless |
| LOW | cdc/service.go | 121 | // of the number of events ready for sending. This is used to ensure that |
| LOW | cdc/fifo.go | 21 | // ErrQueueClosed is returned when an operation is attempted on a closed queue. |
| LOW | queue/queue.go | 121 | |
| LOW | db/db_test.go | 1401 | if isAppveyor() { |
| LOW | db/checkpoint_bench_test.go | 1 | // Benchmark suite for CheckpointManager and alternative Checkpointer implementations. |
| LOW | db/checkpoint_manager.go | 41 | |
| LOW | db/testdata/carray.c | 61 | void *iov_base; |
| LOW | db/wal/compacting_section_scanner.go | 41 | |
| LOW | store/store.go | 1721 | // Update our strong read term. |
| LOW | store/store.go | 2401 | } |
| LOW | store/store_multi_test.go | 561 | // Snapshot Store, and this would result in a divergence between the main DB and that stored |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | snapshot/testdata/db-and-wals/create-wals.py | 3 | |
| LOW | system_test/e2e/cdc.py | 9 | |
| LOW | system_test/e2e/auto_clustering.py | 12 | |
| LOW | system_test/e2e/auto_clustering.py | 12 | |
| LOW | system_test/e2e/gcs.py | 9 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | system_test/e2e/gcs.py | 64 | except Exception as exc: |
| LOW | system_test/e2e/cdc_test_server.py | 120 | except Exception: |
| LOW | system_test/e2e/s3.py | 49 | except Exception as e: |
| MEDIUM | system_test/e2e/s3.py | 50 | print(f"Error uploading file '{file_path}' to '{bucket_name}': {e}") |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | db/testdata/text.go | 3 | const Lorum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ultricies turpis nisi, quis egestas enim sce |
| LOW | db/testdata/text.go | 3 | const Lorum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ultricies turpis nisi, quis egestas enim sce |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/get_gh_latest.py | 25 | # Example usage |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | system_test/e2e/cdc_test_server.py | 103 | # Check if we should simulate a failure |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | system_test/e2e/cdc_test_server.py | 98 |